MDN self-hosted library · e01.org

Element: touchmove event

Touch Events

no runnable cells web-api-event upstream source

Touch Events

The touchmove event is fired when one or more touch points are moved along the touch surface.

Syntax

Use the event name in addEventListener():

addEventListener("touchmove", (event) => { })

Alternatively, assign to the event handler property of the interface:

ontouchmove = (event) => { }

Event type

A TouchEvent. Inherits from Event.

TouchEvent

Examples

Code samples for those events are available on the dedicated page: Touch events.

Specifications

Browser compatibility

See also