Element: touchmove event

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Want more browser support for this feature? Tell us why.

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

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

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

ontouchmove = (event) => { }

Event type

A TouchEvent. Inherits from Event.

Event UIEvent TouchEvent

Examples

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

Specifications

Specification
Touch Events
# event-touchmove
Touch Events
# dom-globaleventhandlers-ontouchmove

Browser compatibility

See also