IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.55k stars 506 forks source link

Modify the step with jquery #739

Closed Stono closed 3 years ago

Stono commented 3 years ago

Hey, I have some DOM events which mean i need to update the sliders step value with jQuery. I can't find any way to do this with the slider object. Could anyone point me in the right direction? Thanks

IonDen commented 3 years ago

Could you please specify your question?

If you want to set step parameter, just set it like this: step: 10 If you want update step parameter of already created slider instance - you should call update method, like on this demo: http://ionden.com/a/plugins/ion.rangeSlider/demo_interactions.html#a_methods

Stono commented 3 years ago

Thank you so much, I some how missed the ability to dynamically update an existing slider!

Stono commented 3 years ago

confirmed this works a treat, thank you for your help.