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.66k stars 659 forks source link

Unable to disable slider by setAttribute #1158

Closed Alex-Popov closed 1 year ago

Alex-Popov commented 3 years ago

I used noUIslider inside LWC component of Salesforce. It doesn't support disable attribute for DIV tag, because it's not a native attribute for div. As a result I'm unable to disable slider.

Need an option or method directly on slider object to disable it

leongersen commented 2 years ago

An API to set the slider or handles disabled seems like a good idea. I'm open to API design suggestions and/or a PR.

mgibbs189 commented 2 years ago

PR #1224 added to address this.

leongersen commented 1 year ago

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

Thanks for contributing!

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.