Nouislider - v12.1.0
Our Nouislider refers to a lightweight JavaScript range slider library. The slider offers a wide selection of options and settings and is compatible with a ton of (touch) devices, including those running iOS, Android, Windows 8/8.1/10, Windows Phone 8.1 and Windows Mobile 10.
Keep reading our Nouislider examples and learn how to use this plugin.
Initialization
To use it, import it from the components folder
Global usage
For local usage
Examples
Slider
Range slider
Slider Props
PROP NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
value | String / Array / Number | N/A | slider value |
disabled | Boolean | N/A | whether the slider is disabled |
start | Number / Array | N/A | noUi Slider start |
connect | Boolean / Array | [ true, false ] | noUi Slider connect |
range | Object | { “min”: 0, “max”: 100 } | noUi Slider range |
options | Object | {} | noUi Slider options |
Switch Events
NAME | DESCRIPTION | PARAMS |
---|---|---|
input | triggers when the binding value changes | the updated value |