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 | |
keyEvent | KeyboardEvent |
Returns - Promise<EventHandled>
Yes to prevent further processing of this event
Defined in
- core/frontend/src/tools/ViewTool.ts Line 594
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.