simulate mousedown event on input of type range at a previse (x, y) point

In react, I need to be able to simulate a mousedown event on a range … Read more simulate mousedown event on input of type range at a previse (x, y) point

In react, I need to be able to simulate a mousedown event on a range slider, i.e. an input element of type "range".

Particularly, the simulated click should be on the thumb of the slider.

But a solution that can simulate a click at a precise (x, y) value is also welcomed.

Thanks

Source: JavaSript – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *