[]
        
(Showing Draft Content)

KeyboardShortcutDefinition

Type Alias: KeyboardShortcutDefinition

type KeyboardShortcutDefinition = object;

Keyboard shortcut definition.

Properties

alt?

optional alt?: boolean;

Specifies whether the Alt key should be pressed.


ctrl?

optional ctrl?: boolean;

Specifies whether the Ctrl key should be pressed.


keyCode?

optional keyCode?: number;

Optional key code.


meta?

optional meta?: boolean;

Specifies whether the Meta key should be pressed.


shift?

optional shift?: boolean;

Specifies whether the Shift key should be pressed.


tool

tool: KeyboardShortcutTool | Function;

Shortcut action.