Queries the state of the specified modifier key.
Method of dom/KeyboardEventdom/KeyboardEvent
Syntaxvar modifierState = event.getModifierState(modifierKeyName);
Parameters modifierKeyName
One of the following values -
Other implementation specific options may be supported. For example -
Returns an object of type BooleanBoolean
Whether the modifier key is active.
NotesSome keyboard configurations contain a left and right modifier key. To determine whether the left or right key is pressed, use the location property.
Related specificationsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4