Movatterモバイル変換


[0]ホーム

URL:


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

TouchEvent: shiftKey property

Limited availability

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

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

Value

The boolean valuetrue if theshift key is enabled for this event; andfalse if theshift key is not enabled.

Examples

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

Specifications

Specification
Touch Events
# dom-touchevent-shiftkey

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp