Firefox Tomorrow

web api event

Element: touchend event

View on MDN ↗

The touchend event fires when one or more touch points are removed from the touch surface. Remember that it is possible to get a touchcancel event instead.

Syntax

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

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

ontouchend = (event) => { }

Event type

A TouchEvent. Inherits from Event.

Examples

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

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also