Optional
animationOptional
chosenClass name for the chosen item
Optional
dataOptional
delaytime in milliseconds to define when the sorting should start
Optional
delayOnly delay if user is using touch
Optional
directionDirection of Sortable (will be detected automatically if not given)
Optional
disabledDisables the sortable if set to true.
Optional
dragClass name for the dragging item
Optional
draggableSpecifies which items inside the element should be draggable
Optional
dragoverOptional
dropOptional
easingEasing for animation. Defaults to null.
See https://easings.net/ for examples.
For other possible values, see https://www.w3schools.com/cssref/css3_pr_animation-timing-function.asp
Optional
emptydistance mouse must be from empty sortable to insert drag element into it
Optional
fallbackClass name for the cloned DOM Element when using forceFallback
Optional
fallbackOptional
fallbackAppends the cloned DOM Element into the Document's Body
Optional
fallbackSpecify in pixels how far the mouse should move before it's considered as a drag.
Optional
filterSelectors that do not lead to dragging (String or Function)
Optional
forceignore the HTML5 DnD behaviour and force the fallback to kick in
Optional
ghostClass name for the drop placeholder
Optional
groupTo drag elements from one list into another, both lists must have the same group value. You can also define whether lists can give away, give and keep a copy (clone), and receive elements.
Optional
handleDrag handle selector within list items
Optional
ignoreOptional
invertWill always use inverted swap zone if set to true
Optional
invertedThreshold of the inverted swap zone
(will be set to swapThreshold
value by default)
Optional
onElement is dropped into the list from another list
Optional
onCalled when dragging element changes position
Optional
onElement is chosen
Optional
onCreated a clone of an element
Optional
onElement dragging ended
Optional
onAttempt to drag a filtered element
Optional
onEvent when you move an item in the list or between lists
Optional
onElement is removed from the list into another list
Optional
onCalled by any change to the list (add / update / remove)
Optional
onElement dragging started
Optional
onElement is unchosen
Optional
onChanged sorting within list
Optional
preventCall event.preventDefault()
when triggered filter
Optional
removeRemove the clone element when it is not showing, rather than just hiding it
Optional
setOptional
sortsorting inside list
Optional
storeOptional
swapThreshold of the swap zone.
Defaults to 1
Optional
touchHow many pixels the point should move before cancelling a delayed drag event
ms, animation speed moving items when sorting,
0
— without animation