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 | up or down key event |
modifier | BeModifierKeys | |
_event | KeyboardEvent | The event that caused this call |
Returns - Promise<EventHandled>
Yes to refresh view decorations or update dynamics.
Defined in
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.