HTML | DOM touchmove Event
The touchmove event is used to execute a script when the user moves the finger across the screen.
It works only on touch screen devices and triggers once for every movement and continues to trigger until the finger is released.
- All HTML elements supported by this event.
object.ontouchmove = myScript;
Below program illustrates the touchmove event:
Before touching the screen:
After touching the screen:
Supported Web Browsers:
- Google Chrome 22 and above
- Edge 12 and above
- Firefox 52 and above