OptionalanimationOptionalbubbleapply autoscroll to all parent elements, allowing for easier movement.
OptionalchosenClass 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)
OptionalmultiEnable the plugin
OptionalmultiKey that must be down for items to be selected
OptionalonElement is dropped into the list from another list
OptionalonCalled when dragging element changes position
OptionalonElement is chosen
OptionalonCreated a clone of an element
OptionalonCalled when an item is deselected
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 when an item is selected
OptionalonCalled by any change to the list (add / update / remove)
OptionalonCalled when either revertOnSpill or RemoveOnSpill plugins are enabled.
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
OptionalremoveThis plugin, when enabled, will cause the dragged item to be removed from the DOM if it is spilled (ie. it is dropped outside of a valid Sortable drop target)
OptionalrevertThis plugin, when enabled, will cause the dragged item to be reverted to it's original position if it is spilled (ie. it is dropped outside of a valid Sortable drop target)
OptionalscrollEnable the plugin. Can be HTMLElement.
Optionalscrollif you have custom scrollbar scrollFn may be used for autoscrolling.
Optionalscrollpx, how near the mouse must be to an edge to start scrolling.
Optionalscrollpx, speed of the scrolling.`
OptionalselectedClass name for selected item
OptionalsetOptionalsortsorting inside list
OptionalstoreOptionalswapEnable swap mode
OptionalswapClass name for swap item (if swap mode is enabled)
OptionalswapThreshold 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