Slider for Bootstrap was inspired by Stefan Petre's component of the same name, but enhanced with Bootstrap 3.x support.
As with the original, this component takes regular number input fields and converts them into a vertical or horizontal line, with a handle on top, which can be dragged around to adjust the input value.
Also known as "drag slider", this component is a whole lot easier to use than the classic input field and allows users to fine tune their number entries using the mouse cursor.
Slider for Bootstrap works in both vertical and horizontal form, allows developers to embed multiple instances on the same page, and also supports range selections where there are two handles used, one for the start and one for the end value.
Min/max values are also support, for cases when the drag slider's edges don't start or end in 0.
If you use Twitter's Bower, then you can easily install the plugin by running:
bower install seiyria-bootstrap-slider
Requirements:
- JavaScript enabled on client side
- Bootstrap
- jQuery
Kommentarer ikke fundet