KeyboardShortcutDefinition: { keyCode?: number; ctrl?: boolean; shift?: boolean; alt?: boolean; meta?: boolean; tool: KeyboardShortcutTool | Function }

Keyboard shortcut definition.

Type declaration

  • Optional keyCode?: number

    Optional key code.

  • Optional ctrl?: boolean

    Specifies whether the Ctrl key should be pressed.

  • Optional shift?: boolean

    Specifies whether the Shift key should be pressed.

  • Optional alt?: boolean

    Specifies whether the Alt key should be pressed.

  • Optional meta?: boolean

    Specifies whether the Meta key should be pressed.

  • tool: KeyboardShortcutTool | Function

    Shotcut action.