leongersen / noUiSlider

noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
https://refreshless.com/nouislider/
MIT License
5.67k stars 660 forks source link

Support `data-disabled` attribute #1224

Closed mgibbs189 closed 1 year ago

mgibbs189 commented 2 years ago

DIV elements don't allow for disabled attribute, so support using data-disabled instead 👍

leongersen commented 1 year ago

In noUiSlider 15.7.0, there are now API's to enable/disable a slider.

Thanks for contributing!