ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface HotkeyConfig

    A single hotkey entry as loaded from config.json. id is the logical action name that is resolved at runtime against a handler registry.

    export interface HotkeyConfig {
    /** Logical action id used to look up the runtime handler. */
    id: string;
    /** Key binding (platform-aware). */
    keys: KeyBinding;
    /** Human-readable description shown in the help modal. */
    description: string;
    /** Grouping label used to organize the help modal list. */
    group: string;
    /**
    * Optional confirmation text flashed in the status bar when the hotkey
    * fires. Omit for shortcuts whose effect is self-evident (e.g. opening a
    * modal) so we don't spam redundant feedback.
    */
    flash?: string;
    }
    interface HotkeyConfig {
        id: string;
        keys: KeyBinding;
        description: string;
        group: string;
        flash?: string;
    }
    Index

    Properties

    id: string

    Logical action id used to look up the runtime handler.

    Key binding (platform-aware).

    description: string

    Human-readable description shown in the help modal.

    group: string

    Grouping label used to organize the help modal list.

    flash?: string

    Optional confirmation text flashed in the status bar when the hotkey fires. Omit for shortcuts whose effect is self-evident (e.g. opening a modal) so we don't spam redundant feedback.