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
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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No |
Legend
- Full support
- Full support
- No support
- No support
- Non-standard. Expect poor cross-browser support.'
- Non-standard. Expect poor cross-browser support.
See also
- Related events:
MSGestureStart
MSGestureEnd
MSGestureTap
MSGestureChange
MSInertiaStart
gesturestart
gesturechange
gestureend
Element: MSGestureHold event by Mozilla Contributors is licensed under CC-BY-SA 2.5.