Document: touchcancel event
The touchcancel
event is fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created).
Bubbles | Yes |
---|---|
Cancelable | No |
Interface | TouchEvent |
Event handler property | ontouchcancel |
Examples
Code samples for those events are available on the dedicated page: Touch events.
Specifications
Specification |
---|
Touch Events # event-touchcancel |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
touchcancel_event |
22 |
12 |
52 |
No |
No |
No |
≤37 |
25 |
6 |
Yes |
Yes |
1.5 |
See also
- Touch events
ontouchcancel
- This event on
Element
targets:touchcancel
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Document/touchcancel_event