Element: touchend event
Touch Events
Touch Events
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 addEventListener():
addEventListener("touchend", (event) => { })
Alternatively, assign to the event handler property of the interface:
ontouchend = (event) => { }
Event type
A TouchEvent. Inherits from Event.
TouchEvent
Examples
Code samples for those events are available on the dedicated page: Touch events.