onKeyTransition Method
Called when any key is pressed or released.
onKeyTransition(wentDown: boolean, keyEvent: KeyboardEvent): Promise<EventHandled>
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 595
Last Updated: 30 November, 2023