Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

SLIDER

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.

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial