当触摸点被中断时会触发 touchcancel
事件,中断方式基于特定实现而有所不同(例如, 创建了太多的触摸点)。
Bubbles | Yes |
---|---|
Cancelable | No |
Interface | TouchEvent |
Event handler property | ontouchcancel |
示例
在这个专用页面查看这些事件的代码样例: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.
参见
ontouchcancel
- 目标为
Document
的相同事件:touchcancel