当一个或多个触摸点与触控设备表面接触时触发touchstart
事件。
Bubbles | Yes |
---|---|
Cancelable | Yes |
Interface | TouchEvent |
Event handler property | ontouchstart |
示例
这些时间的代码样例可在这个专用页面查看:Touch events.
规范
规范 | 状态 |
---|---|
Touch Events | Recommendation |
浏览器兼容性
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- Touch events
ontouchstart
- 以
Element
为目标的相同时间:touchstart