SortableJS
Overview Official Website
SortableJS JavaScript library for reorderable drag-and-drop lists.
Javascript
<!-- sortablejs -->
<script src="/../assets/libs/sortablejs/Sortable.min.js"></script>
Initjs (Custom js)
<!-- nestable init js -->
<script src="/../assets/js/pages/nestable.init.js"></script>
Add Package
npm i sortablejs --save
Remove Package
npm uninstall sortablejs or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Nested Sortables List |
|
Nested Sortables List with Handle |
|