noUiSlider
Lightweight JavaScript range slider.
Please note, this field depend on the following library:
Special properties of field
Property | Type | Description |
|
| Largest value that the slider can select. |
|
| Smallest value that the slider can select. |
|
| Settings of slider component. See details below. |
|
| List of items. It can be an array with items, or a function, what is resulted an array. The item will be a |
sliderOptions
sliderOptions
For more details, see the official noUiSlider documentation.
Property | Default | Accepted values | Description |
connect |
|
| The connect setting can be used to control the (green) bar between the handles, or the edges of the slider. Use |
margin | none |
| When using two handles, the minimum distance between the handles can be set using the margin option. The margin value is relative to the value set in 'range'. This option is only available on standard linear sliders. |
limit | none |
| The limit option is the oposite of the margin option, limiting the maximum distance between two handles. As with the margin option, the limit option can only be used on linear sliders. |
step | none |
| By default, the slider slides fluently. In order to make the handles jump between intervals, you can use this option. The step option is relative to the values provided to |
orientation |
|
| The orientation setting can be used to set the slider to |
direction |
|
| By default the sliders are top-to-bottom and left-to-right, but you can change this using the direction option, which decides where the upper side of the slider is. |
tooltips |
|
| noUiSlider can provide a basic tooltip without using its events system. Set the |
animate |
|
| Set the animate option to |
range | none |
| Overide the |
pips | none |
| This feature allows you to generate points along the slider. More details |
Usage
Simple slider:
Stepped slider with custom scale:
Vertical reversed non-linear slider with scale:
Last updated