jQuery Sortable without jQuery UI

前端 未结 10 1936
长情又很酷
长情又很酷 2021-02-01 22:16

I am in need of \"Sortable Drag & Drop\" functionality and I\'m using jQuery. I can\'t really use jQuery UI, because for this project it would be an overhead (I\'d need to a

10条回答
  •  北海茫月
    2021-02-01 23:06

    I suggest you go for "LMDD drag and drop" Less than 4kb gzipped and very simple to implement. https://supraniti.github.io/Lean-Mean-Drag-and-Drop/ Simple example:

    div id="basic-example"> (scope)
        
    (container)
    (draggable)

提交回复
热议问题