Skip to content

KeyboardCommand.onActivate?

KeyboardCommand › onActivate?

Type: ($event: MouseEvent) => void

The pointer route into the same handler the shortcut runs. Required for the command to render a button in ModalCommandsRenderMode.Buttons mode — on a phone there is no modifier key to press, so this is the only way in.