IonDen / ion.rangeSlider

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

Update value in real time #487

Closed dmrathore closed 4 years ago

dmrathore commented 7 years ago

Hello I am using ion range slider in my project for real time brightness control , How to update value in real time using database operation for the other clients.

thanks

IonDen commented 7 years ago

Hello, i did not understand what exactly you need. Could you provide more details?

Updating slider: http://ionden.com/a/plugins/ion.rangeSlider/demo_interactions.html#range_50

Getting slider value in realtime: http://ionden.com/a/plugins/ion.rangeSlider/demo_interactions.html#range_46

RomanBurunkov commented 6 years ago

Hello @IonDen ,

Could you please clarify whether update method redraws all slider instance or not?

Asking that because in my case I have a bunch of ionRangeSliders on one page which I update every 5 seconds by update method.

I need to update only slider value, not all slider options like from/to etc... but it looks like if I call an update method whole slider redraws.

That's causing some performance issues on weak hardware.

Is there any method which only updates the value and triggers event onChange?

Thanks, Roman.

RomanBurunkov commented 6 years ago

That's probably related to #328