You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Is it possible to drag a radial gauge and copy one, then drop on the other div part?
`function drag(ev) {
ev.dataTransfer.setData("Text", ev.target.id);
}
function drop(ev) {
ev.preventDefault();
var data = ev.dataTransfer.getData("Text");
var item = document.getElementById(data).cloneNode();
ev.target.appendChild(item);`
I found that this doesn't work as i expected.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi there,
Is it possible to drag a radial gauge and copy one, then drop on the other div part?
`function drag(ev) {
ev.dataTransfer.setData("Text", ev.target.id);
}
function drop(ev) {
ev.preventDefault();
var data = ev.dataTransfer.getData("Text");
var item = document.getElementById(data).cloneNode();
ev.target.appendChild(item);`
I found that this doesn't work as i expected.
Thank you.
The text was updated successfully, but these errors were encountered: