TouchEvent.ctrlKey

This article needs a technical review. How you can help.

SummaryEdit

A Boolean value indicating whether the control (Control) key is enabled when the touch event is created. If this key is enabled, the attribute's value is true. Otherwise, it is false.

This property is Read only .

SyntaxEdit

var ctrlEnabled = touchEvent.ctrlKey;

Return value

ctrlEnabled
true if the control key is enabled for this event; and false if the control is not enabled.

ExampleEdit

The TouchEvent.altKey example includes an example of this property's usage.

SpecificationsEdit

Specification Status Comment
Touch Events – Level 2 Editor's Draft Non-stable version.
Touch Events Recommendation Initial definition.

Browser compatibilityEdit

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 22.0 18.0 (18.0) No support No support No support

Document Tags and Contributors

 Contributors to this page: rolfedh, AFBarstow
 Last updated by: rolfedh,