Someone has asked me why we couldn’t detect when a user completes changing slider value (via dragging the slider thumb, clicking the slider, up/down keyboard and so on). At first, I was kind of surprise to learn that there is no such thing as a completed slider event.
However, if you think about it, how do you know when the value change event is over? You can’t really know unless you set a specific duration that you will be certain that a user is done with the slider.
So I think the best way to do it is to set up a timer to detect when our user stops interacting with the slider.
Let’s see the code:
Hope this helps!