Appendix S. Sliders
Method | Description | Return Value |
---|---|---|
Dialog Methods | ||
| Make the selected elements into slider elements (see "Slider Options"). | jQuery |
| Moves a slider's handle to the given position. | jQuery |
| Retrieves a handle's value. | jQuery |
| Temporarily disables the slider. | jQuery |
| Enables the slider. | jQuery |
| Completely removes the sliding functionality. | jQuery |
Slider Options
Option | Description | Type |
---|---|---|
| Whether slide handles smoothly when the user clicks outside the handle on the bar. The default is | Boolean |
| Normally you don't need to set this option because the plugin detects the slider orientation automatically. If the orientation is not correctly detected, you can set this option to |
|
| The jQuery selector to use for the handle(s) of the slider. The default is | Selector |
| Specifies boundaries for one or more handles. Format: | Object |
| The maximum value of the slider. Useful for tracking values via callback, and to set steps. The default is | Integer |
| The minimum value of the slider. Useful for tracking values via callback, and to set steps. The default is | Integer |
| If set to |
Get Beginning JavaScript® and CSS Development with jQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.