touchcancel

当触摸点被中断时会触发 touchcancel 事件,中断方式基于特定实现而有所不同(例如, 创建了太多的触摸点)。

Bubbles Yes
Cancelable No
Interface TouchEvent
Event handler property ontouchcancel

示例

在这个专用页面查看这些事件的代码样例:Touch events

规范

规范 状态
Touch Events Recommendation

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
touchcancel eventChrome Full support 22Edge Full support 12Firefox Full support 52IE No support NoOpera No support NoSafari No support NoWebView Android Full support YesChrome Android Full support 25Firefox Android Full support 6Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support 1.5

Legend

Full support  
Full support
No support  
No support

参见