neoSort
Plugin for reorderable drag-and-drop elements.
V:1.0
Based on:
https://github.com/SortableJS/Sortable
https://sortablejs.github.io/Sortable/
neoSort
Purpose: |
Sort items within a Container |
Category: |
neoSort |
Syntax: |
neoSort "objId" theSwap "theHandle" theAnimationTime theSubroutine
objId Select Container with items to sort theSwap Swap items? theHandle Handle object CSS class (ie: .handle) Left empty to use the whole container theAnimationTime Animation time in milliseconds (ie: 150) theSubroutine Callback subroutine (optional) |
neoSortGroup
Purpose: |
Sort and move items within two or more Containers |
Category: |
neoSort |
Syntax: |
neoSortGroup "objId" "groupName" thePut theSortable theSwap "theHandle" theAnimationTime theSubroutine
objId Select Container with items to sort groupName Group name (Use the same group name to share elements between Containers) thePut Accept items from other Containers? theSortable Allow sorting items within this Container? theSwap Swap items? theHandle Handle object CSS class (ie: .handle) Left empty to use the whole container theAnimationTime Animation time in milliseconds (ie: 150) theSubroutine Callback subroutine (optional) |
neoSortGetItems
Purpose: |
Get ordered items or objects id's within a Container |
Category: |
neoSort |
Syntax: |
neoSortGetItems "objId" returnVar
objId Select Container with sorted items returnVar Variable array to store ordered items id's |
neoSortSwapItems
Purpose: |
Swap two items or objects |
Category: |
neoSort |
Syntax: |
neoSortSwapItems "objId1" "objId2"
objId1 First object to swap objId2 Second object to swap |
Created with the Personal Edition of HelpNDoc: Why Microsoft Word Isn't Cut Out for Documentation: The Benefits of a Help Authoring Tool