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 (⊞).
In this article
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> |