Skip to content

Keymap.updateModifiers method

Keymap › updateModifiers

Unofficial

Updates the currently-pressed modifiers from a keyboard event.

Signature:

updateModifiers(evt: KeyboardEvent): void

Parameters:

Parameter Type Description
evt KeyboardEvent The keyboard event to read modifiers from.

Returns: void