Movatterモバイル変換


[0]ホーム

URL:


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

TouchEvent: ctrlKey property

Limited availability

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

The read-onlyctrlKey property of theTouchEvent interface returns a boolean value indicating whether thecontrol (Control) 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.

Value

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

Examples

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

Specifications

Specification
Touch Events
# dom-touchevent-ctrlkey

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp