namu
v0.2.4
Published
Drag and drop on HTML UL tag based tree
Downloads
10
Readme
namu
"namu" is a tree as korean pronunciation.
use case
<script>
const tree = document.querySelector('ul')
tree.addEventListener('namu:drop', e => console.log('dropped', e)
// trigger shove up
<li/>
elements from drop event
tree.addEventListener('namu:move', e => console.log('moved', e)
namu(tree)
</script>