drag-by-handle

Makes any HTML element draggable, optionally by a handle.

Usage no npm install needed!

<script type="module">
  import dragByHandle from 'https://cdn.skypack.dev/drag-by-handle';
</script>