ink-cartridge
    Preparing search index...

    Interface FocusTarget

    Keyboard state for a single named focus target on a screen layer.

    Focus targets allow multiple form controls on the same screen to have independent key bindings. Only the currently active target receives events; inactive targets are skipped.

    interface FocusTarget {
        actionKeysMap: Map<string, string[]>;
        allowedKeys: KeyRule[];
        bindings: BaseBoundKeyEntry[];
        penetrationKeys: KeyRule[];
        stoppedKeys: KeyRule[];
    }

    Hierarchy

    • BaseFocusTarget
      • FocusTarget
    Index
    actionKeysMap: Map<string, string[]>

    Maps action IDs to the normalized keys that trigger them (for stopAction).

    allowedKeys: KeyRule[]

    Keys allowed to pass through a modal barrier while this focus target is active.

    bindings: BaseBoundKeyEntry[]

    Registered key bindings (evaluation order).

    penetrationKeys: KeyRule[]

    Key rules marked as transparent on this target (pass-through).

    stoppedKeys: KeyRule[]

    Key rules stopped on this target (propagation barrier).