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
- Internet Explorer
- Google Chrome
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.