||View All MessagesBack to WebFX|
There are 2 simple solutions/workaround that you can use.|
1. Use a timer to make sure that the change event is not happening too often.
2. Disable the onchange for a while
var oc = slider.onchange;
slider.onchange = null;
slider.onchange = oc;
I agree that a valueIsAdjusting flag might be useful but it is not crucial. If you really need it you can easily create a sub class that adds support for this.
Is there a way to use the setValue to move the slider in code but not let it call the onChange event of the slider?
The javax.swing.BoundedRangeModel interface defined by Sun for Java which was used to model the slider bar has a setValueIsAdjusting property that doesn't look like its supported with these sliders.