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

    Interface UseHotkeysOptions

    Options accepted by useHotkeys. All fields optional.

    export interface UseHotkeysOptions {
    /**
    * Called after a hotkey's handler is invoked, with the matched config.
    * Typical use: flash a status-bar confirmation when `config.flash` is set.
    */
    onTriggered?: (config: HotkeyConfig) => void;
    }
    interface UseHotkeysOptions {
        onTriggered?: (config: HotkeyConfig) => void;
    }
    Index

    Properties

    Properties

    onTriggered?: (config: HotkeyConfig) => void

    Called after a hotkey's handler is invoked, with the matched config. Typical use: flash a status-bar confirmation when config.flash is set.