jquery-sortable-lists

2.4.0 • Public • Published

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jquery-sortable-lists

    Weekly Downloads

    50

    Version

    2.4.0

    License

    MIT

    Unpacked Size

    61.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • camo