Creates an interface for <Drag> and drop, resorting of a list.
Arguments
elements |
requires, the collection of elements that will become sortables. |
options |
an Object, see options below. |
Options
handles |
a collection of elements to be used for drag handles. defaults to the elements. |
fxDuration |
the duration in ms of the effects applied to the dragged element and its clone. defaults to 250 ms. |
fxTransition |
the transition for the effects (see also: Fx.Transitions). |
maxOpacity |
the opacity for the dragged clone |
onStart |
function executed when the item starts dragging |
onComplete |
function executed when the item ends dragging |
contain |
boolean, true keeps the dragged item constrained to it’s parent element, defaults to false. |