A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/getModifierState below:

MouseEvent: getModifierState() method - Web APIs

MouseEvent: getModifierState() method

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.

Syntax Parameters
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.

Return value

A boolean value.

Specifications Browser compatibility See also

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