![]() |
VOOZH | about |
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.
Supported Tags
Syntax:
object.ontouchmove = myScript;
Below program illustrates the touchmove event:
Example: Executing a JavaScript when a user moves the finger over a P element.
Output:
Before touching the screen:
After touching the screen:
Supported Web Browsers: