mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
1.1 KiB
1.1 KiB
title, docs-libs, description, summary
| title | docs-libs | description | summary |
|---|---|---|---|
| Range slider | nouislider | Adjust values with range sliders. | Range sliders allow users to select a range of values by adjusting two handles along a track, providing an intuitive and space-efficient input method. |
To be able to use the range slider in your application you will need to install the nouislider dependency with npm install nouislider.
All options and features can be found here.
Basic range slider
{% capture html -%}
<script> document.addEventListener("DOMContentLoaded", function () { window.noUiSlider && noUiSlider.create(document.getElementById("range-simple"), { start: 20, connect: [true, false], step: 10, range: { min: 0, max: 100, }, }); }); </script> {%- endcapture %} {% include "docs/example.html" html=html %}That's only the basic features and options of range slider. More possibilities can be found here.