Appendix K (^) ❘ 563
connectWith A selector that references other sortable
elements you’d like to connect a sortable
with.
Default value: false
Selector
Boolean
containment Constrains the dragging of sortable
elements within the bounds of the specifi ed
or selected element. If using a string, the
possible values are 'parent', 'document',
and 'window'.
Default value: false
Element
Selector
String
Boolean
cursor Specifi es the cursor that should be shown
while sortable elements are being dragged.
The string provided should be a value
suitable for the CSS cursor property.
Default value: 'auto'
String
cursorAt Specifi es coordinates for the cursor that
should be shown while sortable elements are
being dragged.
Default value: false
Object
delay Defi nes a delay time in milliseconds (ms),
which helps to prevent unwanted drags.
Default value: 0
Integer
disabled Whether or not the sortable is disabled.
Default value: false
Boolean
distance A tolerance in pixels, for where the
threshold sorting should take place. If this
option is specifi ed, sorting won’t take place
until the mouse cursor is dragged beyond
the specifi ed distance.
Default value: 1
Integer
dropOnEmpty If set to true, this option allows a sortable
item to be dropped from a linked selectable.
Default value: true
Boolean
forceHelperSize If the value provided is true, this option
forces the helper element to have a size.
Default value: false
Boolean
continues
http://www.it-ebooks.info
elliott
(Elliott)
#1