Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Sliders are a more restricted way of inputting numeric values, as shown in Table 8-15. The old-fashioned method of using text fields with masks or validations has drawbacks. Using a slider is visually cleaner and intuitive. The sliders are either vertical or horizontal.
Table 8.15: Slider Options
| OPTION | ACCEPTS | DESCRIPTION |
| disabled | Boolean | Disables (true) or enables (false) the slider widget. |
| animate | Boolean, String, Number | Whether to slide the handle smoothly when the user clicks on the slider widget outside of the hit area represented by the handle. |
| min | Number | The minimum value of the slider widget. |
| max | Number | The maximum value of the slider widget. |
| orientation | String | The orientation of the slider widget. Widgets can be either horizontal or vertical. |