Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MSGestureHold

This article needs a technical review. How you can help.

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.

General info

Specification
Not part of any specification. Microsoft has a description on MSDN
Interface
MSGestureEvent
Bubbles
Unknown
Cancelable
Unknown
Target
Element
Default Action
Unknown

Properties

This event has the properties of an MSGestureEvent.

detail

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

Global event handler

GlobalEventHandlers.onmsgesturehold

Browser compatibility

This event is supported in Internet Explorer 10+ and Microsoft Edge.

Document Tags and Contributors

 Contributors to this page: rolfedh, cvrebert
 Last updated by: rolfedh,