(^566) ❘ APPENDIX K SORTABLE
out
bind('sortout')
on('sortout')
A function that executes when a sortable
item is moved out of the boundaries of a
sortable list.
function
(event, ui)
over
bind('sortover')
on('sortover')
A function that executes when an item is
moved over a connected list.
function
(event, ui)
receive
bind('sortreceive')
on('sortreceive')
A function that executes when an item from
this sortable list is dragged to a connected
(separated) sortable list.
function
(event, ui)
remove
bind('sortremove')
on('sortremove')
A function that executes when an item from
this sortable list is dragged to a connected
(separated) sortable list.
function
(event, ui)
sort
bind('sort')
on('sort')
A function that executes while sorting is
taking place.
function
(event, ui)
start
bind('sortstart')
on('sortstart')
A function that executes when sorting
begins.
function
(event, ui)
stop
bind('sortstop')
on('sortstop')
A function that executes when sorting ends. function
(event, ui)
update
bind('sortupdate')
on('sortupdate')
A function that executes when sorting ends
and the DOM position of the dragged
element has changed.
function
(event, ui)
SERIALIZE OPTIONS
OPTION DESCRIPTION TYPE
attribute The attribute value that is retrieved from
each sortable element.
Default: id
String
expression A regular expression used to extract a string
from within the attribute value.
Default: /(.+)-=_/
Regular
Expression
key The key in the URL hash. If not specifi ed, it
takes the fi rst result of the expression.
String
(continued)
http://www.it-ebooks.info
elliott
(Elliott)
#1