Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. TouchEvent
  4. metaKey

TouchEvent: metaKey property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The read-onlymetaKey property of theTouchEvent interface returns a boolean value indicating whether or not theMeta key is enabled when the touch event is created. If this key is enabled, the attribute's value istrue. Otherwise, it isfalse.

This property isRead only.

Note:On Macintosh keyboards, this is the⌘ Command key. On Windows keyboards, this is the Windows key ().

Value

A boolean value that istrue if theMeta key is enabled for this event; andfalse if theMeta is not enabled.

Examples

TheTouchEvent.altKey example includes an example of this property's usage.

Specifications

Specification
Touch Events
# dom-touchevent-metakey

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp