Baseline Widely available
The MouseEvent.getModifierState()
method returns the current state of the specified modifier key: true
if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, false
.
See KeyboardEvent.getModifierState()
for details.
key
A modifier key value. The value must be one of the KeyboardEvent.key
values which represent modifier keys or "Accel"
Deprecated . This is case-sensitive.
A boolean value.
Specifications Browser compatibility See alsoRetroSearch 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