OptionalanimationOptionalchosenClass name for the chosen item
OptionaldataOptionaldelaytime in milliseconds to define when the sorting should start
OptionaldelayOnly delay if user is using touch
OptionaldirectionDirection of Sortable (will be detected automatically if not given)
OptionaldisabledDisables the sortable if set to true.
OptionaldragClass name for the dragging item
OptionaldraggableSpecifies which items inside the element should be draggable
OptionaldragoverOptionaldropOptionaleasingEasing 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
Optionalemptydistance mouse must be from empty sortable to insert drag element into it
OptionalfallbackClass name for the cloned DOM Element when using forceFallback
OptionalfallbackOptionalfallbackAppends the cloned DOM Element into the Document's Body
OptionalfallbackSpecify in pixels how far the mouse should move before it's considered as a drag.
OptionalfilterSelectors that do not lead to dragging (String or Function)
Optionalforceignore the HTML5 DnD behaviour and force the fallback to kick in
OptionalghostClass name for the drop placeholder
OptionalgroupTo 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.
OptionalhandleDrag handle selector within list items
OptionalignoreOptionalinvertWill always use inverted swap zone if set to true
OptionalinvertedThreshold of the inverted swap zone
(will be set to swapThreshold value by default)
OptionalonElement is dropped into the list from another list
OptionalonCalled when dragging element changes position
OptionalonElement is chosen
OptionalonCreated a clone of an element
OptionalonElement dragging ended
OptionalonAttempt to drag a filtered element
OptionalonEvent when you move an item in the list or between lists
OptionalonElement is removed from the list into another list
OptionalonCalled by any change to the list (add / update / remove)
OptionalonElement dragging started
OptionalonElement is unchosen
OptionalonChanged sorting within list
OptionalpreventCall event.preventDefault() when triggered filter
OptionalremoveRemove the clone element when it is not showing, rather than just hiding it
OptionalsetOptionalsortsorting inside list
OptionalstoreOptionalswapThreshold of the swap zone.
Defaults to 1
OptionaltouchHow many pixels the point should move before cancelling a delayed drag event
ms, animation speed moving items when sorting,
0— without animation