ink-cartridge
    Preparing search index...

    Interface ModalMissOptions

    Options for useModalMissListener.

    Each option defaults to false, meaning only explicit boundKeyboard / boundSequence matches (and built-in Tab navigation) count as "handled". Enable flags to broaden the definition of a handled key.

    // Catch condition-gated misses
    engine.useModalMissListener(
    (evt) => {
    if (evt.miss) showKeyHint(evt.eventNames);
    },
    { monitorWhen: true, monitorFocusMismatch: true },
    );
    interface ModalMissOptions {
        elementId?: string;
        monitorFocusMismatch?: boolean;
        monitorWhen?: boolean;
    }
    Index
    elementId?: string

    ID of the element the miss listener applies to.

    monitorFocusMismatch?: boolean

    When true, a key matching a binding on a non-active focus target is treated as a miss. Default false (treated as handled).

    monitorWhen?: boolean

    When true, a key matching a binding whose when() returns false is treated as a miss. Default false (treated as handled).