Element: MSGestureHold event

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
MSGestureHold event
Non-standard
Chrome No support NoEdge Full support YesFirefox No support NoIE Full support 10Opera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoEdge Mobile Full support YesFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung 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

ドキュメントのタグと貢献者

このページの貢献者: wbamberg, chrisdavidmills, mdnwebdocs-bot, rolfedh, cvrebert
最終更新者: wbamberg,