拖拽排序Sortable.js
官方地址:http://www.sortablejs.com/index.html
用法:
new Sortable(dom, { animation: 150, ghostClass: 'class', onChoose: (event) => { }, onUnchoose: (event) => { }, onStart: (event) => { }, onEnd: (event) => { } })
官方地址:http://www.sortablejs.com/index.html
用法:
new Sortable(dom, { animation: 150, ghostClass: 'class', onChoose: (event) => { }, onUnchoose: (event) => { }, onStart: (event) => { }, onEnd: (event) => { } })