Document Solutions Image Viewer
    Preparing search index...

    Type Alias KeyboardShortcutDefinition

    Keyboard shortcut definition.

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

    Properties

    keyCode?: number

    Optional key code.

    ctrl?: boolean

    Specifies whether the Ctrl key should be pressed.

    shift?: boolean

    Specifies whether the Shift key should be pressed.

    alt?: boolean

    Specifies whether the Alt key should be pressed.

    meta?: boolean

    Specifies whether the Meta key should be pressed.

    tool: KeyboardShortcutTool | Function

    Shortcut action.