hasModifierKey
Checks whether a modifier key is pressed.
Presentation
function hasModifierKey (
event: KeyboardEvent,
modifiers: LmnModifierKey [],
): boolean;
Returns
boolean
Parameters
Name | Type | Description |
---|---|---|
event | KeyboardEvent | |
modifiers |
|
Checks whether a modifier key is pressed.
function hasModifierKey (
event: KeyboardEvent,
modifiers: LmnModifierKey [],
): boolean;
boolean
Name | Type | Description |
---|---|---|
event | KeyboardEvent | |
modifiers |
|