Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camohub/jquery-sortable-lists
jQuery plugin to sorting lists also the tree structures.
https://github.com/camohub/jquery-sortable-lists
Last synced: about 2 months ago
JSON representation
jQuery plugin to sorting lists also the tree structures.
- Host: GitHub
- URL: https://github.com/camohub/jquery-sortable-lists
- Owner: camohub
- License: mit
- Created: 2015-05-20T18:15:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T21:20:23.000Z (almost 3 years ago)
- Last Synced: 2024-07-22T12:18:05.361Z (2 months ago)
- Size: 533 KB
- Stars: 208
- Watchers: 13
- Forks: 61
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
jquery-sortable-lists
jQuery plugin to sorting lists also the tree structures.
```$('#myList').sortableLists( options );```
You can sort an items of html lists by mouse. Create tree structures.
Format css of all active items however you want.
You can define the
isAllowed callback which determines
if dragged item can be inserted into another. Set the
insert zone like a distance which determines if item will
be inserted inside or outside of the active area, also
insert zone plus feature,
speed of autoscroll function,
max levels number... speed of autoscroll function, max levels number...
Available is onDragStart and complete callback.Now plugin supports also mobile devices. Link jquery-sortable-lists-mobile.js instead of jquery-sortable-lists.js.
Sortable lists also contains export functions toArray, toHierarchy, toString.
For more info look at the documentation.
Changelog is here.