onModifierKeyTransition Method
Called when Control, Shift, or Alt modifier keys are pressed or released.
onModifierKeyTransition(wentDown: boolean, modifier: BeModifierKeys, event: KeyboardEvent): Promise<EventHandled>
@returns Yes to refresh view decorations or update dynamics.
Parameter | Type | Description |
---|---|---|
wentDown | boolean | |
modifier | BeModifierKeys | |
event | KeyboardEvent |
Returns - Promise<EventHandled>
Yes to refresh view decorations or update dynamics.
Defined in
- core/frontend/src/tools/ViewTool.ts Line 599
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.