Web Development with jQuery®

(Elliott) #1

(^570) ❘ APPENDIX L SELECTABLE
SELECTABLE OPTIONS
OPTION DESCRIPTION TYPE
appendTo This option determines what element
the selection box will be appended to.
Default selector: "body"
Selector
autoRefresh This option determines whether to
refresh (the cached) the position and
size of each selectable element at the
beginning of a select operation. If you
have experienced performance
degradation (as you would if you have
a lot of selectable elements), you might
want to set this option to false and
refresh positions manually, as needed.
Default value: true
Boolean
cancel The cancel option provides a
selector of elements that are omitted
from the action of beginning a
selection. If the user clicks and drags
on one of the specifi ed elements, no
selection occurs.
Default selector: "input, textarea,
button, select, option"
Selector
delay Allows you the option of specifying
the number of milliseconds that should
pass before a selection is allowed to
take place. The default is zero
(no delay).
Integer
disabled Determines whether the selectable is
disabled.
Default value: false
Boolean
distance Specifi es the number of pixels the
mouse cursor should move before a
selection begins.
Default value: 0
Number
filter The matching child elements will be
made into selectable elements.
Default value: * (all child
elements)
Selector
http://www.it-ebooks.info

Free download pdf