onKeyTransition Method
Called when any key is pressed or released.
onKeyTransition(_wentDown: boolean, _keyEvent: KeyboardEvent): Promise<EventHandled>
@returns Yes to prevent further processing of this event
Parameter | Type | Description |
---|---|---|
_wentDown | boolean | up or down key event |
_keyEvent | KeyboardEvent | The KeyboardEvent |
Returns - Promise<EventHandled>
Yes to prevent further processing of this event
Defined in
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.