The dragged element
The list that the element was dragged to
The list that the element was dragged from
OptionaloldOld index of the element (before drag)
OptionalnewNew index of the element (after drag)
OptionaloldOld index among draggable elements only
OptionalnewNew index among draggable elements only
OptionalcloneCloned element (when using group.pull: 'clone')
OptionalpullPull mode used for this operation
'clone' when cloning'move' or true when movingfalse or undefined for same-list operationsOn a clone event fired by duplicateKey, to === from marks an
in-place (same-list) duplicate rather than a cross-zone copy.
The end event reports the drag's outcome here too: 'clone' for any
duplicate/clone drop (same-list or cross-zone), the source's pull mode
for a cross-zone move, and undefined for a plain same-list reorder.
Array of selected elements (multi-drag mode)
OptionaloldPer-item indices in from at drag start, parallel to items
OptionalnewPer-item indices in to after the consumer commits the move,
parallel to items (contiguous block starting at the drop index)
Event object passed to Sortable event callbacks
Remarks
This object contains information about the drag operation, including the affected elements and their positions.
Public