TouchEvent.shiftKey

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

..

SummaryEdit

A Boolean value indicating whether or not the shift 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 shiftEnabled = touchEvent.shiftKey;

Return value

shiftEnabled
true if the shift key is enabled for this event; and false if the shift key 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,