dragnode

dragnode

Usage no npm install needed!

<script type="module">
  import dragnode from 'https://cdn.skypack.dev/dragnode';
</script>

README

DragNode

// make a node move
const node = new DragNode(element);
// get node position
node.getPosition();