Element: MSGestureHold event - Web APIs 编辑
Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The MSGestureHold
event is fired when the user contacts the touch surface and remains in the same position for a while.
It is a proprietary event specific to Microsoft Edge and Internet Explorer.
Bubbles | Unknown |
---|---|
Cancelable | Unknown |
Interface | MSGestureEvent |
Event handler property | Unknown |
The UIEvent.detail
property of an MSGestureHold
event has 3 possible values:
MSGESTURE_FLAG_BEGIN
- This value indicates that the user started contacting the touch surface.
MSGESTURE_FLAG_END
- This value indicates that the user has stopped touching the touch surface.
MSGESTURE_FLAG_END & MSGESTURE_FLAG_CANCEL
(bitwise AND-ed together)- This value indicates that the user has moved their finger, regardless of whether they also stopped touching the touch surface
Specifications
Not part of any specification.
Browser compatibility
BCD tables only load in the browser
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论