拖拽排序Sortable.js

官方地址:http://www.sortablejs.com/index.html

用法:

new Sortable(dom, {
    animation: 150,
    ghostClass: 'class',
    onChoose: (event) => {
    },
    onUnchoose: (event) => {
    },
    onStart: (event) => {
    },
    onEnd: (event) => {
    }
  })
原文地址:https://www.cnblogs.com/styleFeng/p/14953609.html