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; andfalse
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. |