AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface HotkeyEvent

    Generated when a keyboard shortcut defined in the hotkeys array in Window options is pressed inside the window.

    For reference on keyboard event properties see KeyboardEvent.

    interface HotkeyEvent {
        altKey: boolean;
        code: string;
        command?: string;
        ctrlKey: boolean;
        inputType: "keyUp" | "keyDown";
        key: string;
        metaKey: boolean;
        name: string;
        repeat: boolean;
        shiftKey: boolean;
        topic: "window";
        type: "hotkey";
        uuid: string;
    }
    Index
    altKey: boolean
    code: string
    command?: string
    ctrlKey: boolean
    inputType: "keyUp" | "keyDown"
    key: string
    metaKey: boolean
    name: string
    repeat: boolean
    shiftKey: boolean
    topic: "window"

    The "kebab-case" classname of the emitter that raised the event.

    OpenFin.Frame is represented as iframe.

    type: "hotkey"

    The type of event that was raised. Equal to the typename of the event payload in "kebab case".

    Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

    uuid: string