A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/KeyboardEvent/getModifierState below:

getModifierState ยท WebPlatform Docs

getModifierState Summary

Queries the state of the specified modifier key.

Method of dom/KeyboardEventdom/KeyboardEvent

Syntax
var modifierState = event.getModifierState(modifierKeyName);
Parameters modifierKeyName
Data-type
String

One of the following values -

Other implementation specific options may be supported. For example -

Return Value

Returns an object of type BooleanBoolean

Whether the modifier key is active.

Notes

Some keyboard configurations contain a left and right modifier key. To determine whether the left or right key is pressed, use the location property.

Related specifications
DOM Level 3 Events
Working Draft
Attributions

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