KeyboardCommand.onActivate method
KeyboardCommand › onActivate
The pointer route into the same handler the shortcut runs. Required for the command to render a button inModalCommandsRenderMode.Buttons mode — on a phone there is no modifier key to press, so this is the only way in.Signature:
onActivate(this: void, $event: MouseEvent): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| $event | MouseEvent |
Returns: void