onModifierKeyTransition Method

Called when Control, Shift, or Alt modifier keys are pressed or released.

onModifierKeyTransition(_wentDown: boolean, modifier: BeModifierKeys, _event: KeyboardEvent): Promise<EventHandled>

Parameter Type Description
_wentDown boolean  
modifier BeModifierKeys  
_event KeyboardEvent  

Returns - Promise<EventHandled>

Yes to refresh view decorations or update dynamics.

Defined in

Last Updated: 20 June, 2023