-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable/enable exists slider? #3
Comments
Could you please explain in better english, I'm not sure what your question is? Disabling a slider is done via the |
I mean how I can disable slider(after some event) then enable slider(after other event)? not just create disabled slider. Thanks. |
You can't do that currently, since disabling is handled on creating the slider instance only. I will consider including this in the next version. |
I found way.
When you need, just call function var elem = document.querySelector('.js-range');
var init = new Powerange(elem);
init.setDisabled(true);
init.setDisabled(false); Thank you @abpetkov. I really appreciate your kind library. |
Hi
How to disable/enable exists slider?
Thanks
The text was updated successfully, but these errors were encountered: