Element: touchstart event
The touchstart
event is fired when one or more touch points are placed on the touch surface.
Bubbles | Yes |
---|---|
Cancelable | Yes |
Interface | TouchEvent |
Event handler property | ontouchstart |
Examples
Code samples for those events are available on the dedicated page: Touch events.
Specifications
Specification |
---|
Touch Events # event-touchstart |
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 | |
touchstart_event |
22 |
12 |
52 |
No |
No |
No |
≤37 |
25 |
6 |
Yes |
Yes |
1.5 |
See also
- Touch events
- This event on
Document
targets:touchstart
© 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/Element/touchstart_event