ink-cartridge
    Preparing search index...

    Interface PenetrationOptions

    Options for KeyboardEngine.penetration when marking keys as transparent within a specific focus target.

    interface PenetrationOptions {
        elementId?: string;
        focusId?: string | FocusRef;
        when?: string | (() => boolean);
    }
    Index
    elementId?: string

    ID of the element the penetration rule applies to.

    focusId?: string | FocusRef

    If provided, penetrates only within the named focus target.

    when?: string | (() => boolean)

    Optional condition callback. When provided, the key is only transparent when this returns true. When false, the penetration rule is ignored and the key is not passed through.