Skip to main content
All docs
V26.1
  • IHotKey Interface

    Provides information about a hot key used to perform an action assigned to a menu item.

    Declaration

    export interface IHotKey

    Properties

    altKey Property

    Specifies whether the Alt key is part of a keyboard shortcut.

    Declaration

    altKey?: boolean

    Property Value

    Type Description
    boolean

    true if the Alt key must be pressed, false otherwise.

    ctrlKey Property

    Specifies whether the Ctrl key is part of a keyboard shortcut.

    Declaration

    ctrlKey?: boolean

    Property Value

    Type Description
    boolean

    true if the Ctrl key must be pressed, false otherwise.

    keyCode Property

    Specifies the key code of a keyboard shortcut.

    Declaration

    keyCode: number

    Property Value

    Type Description
    number

    An integer value that specifies the key code.