Web Development with jQuery®

(Elliott) #1

Appendix S (^) ❘ 617
value The value of the slider. If multiple handles are
present, this value will be used for the fi rst
handle.
Default value: 0
Number
values If multiple handles are desired, an array
containing the value for each handle can be
provided within this option.
Default value: null
Array
SLIDER EVENTS
OPTION DESCRIPTION VALUE
change A function that is executed when the slider’s
value or values change.
function
(event, ui)
create A function executed when a slider is created. function
(event, ui)
slide A function executed upon every mouse move
while a slider is being dragged.
function
(event, ui)
start A function that gets called when the user starts
sliding.
function
(event, ui)
stop A function that gets called when the user stops
sliding.
function
(event, ui)
UI OBJECT
OPTION DESCRIPTION TYPE
ui.handle A jQuery object representing the handle being
moved.
jQuery
ui.value The value that the handle will move to if the
event is not canceled.
Number
ui.values An array of the current values of a multihandled
slider.
Array
http://www.it-ebooks.info

Free download pdf