@cartridge-engine/keyboard-engine
    Preparing search index...

    Type Alias SequenceIdentity

    SequenceIdentity:
        | { fromElementId: string; pendingSequence: PendingSequence }
        | { fromElementId: null; pendingSequence: null }

    The pending-sequence slot of a layer that hosts elements.

    Either both fields are present (an element-owned sequence is waiting for the next key) or both are null (no sequence is pending).

    Type Declaration

    • { fromElementId: string; pendingSequence: PendingSequence }
      • fromElementId: string

        ID of the element whose keyboard started the pending sequence.

      • pendingSequence: PendingSequence

        The pending sequence for the current layer — only one waiting sequence per layer is allowed.

    • { fromElementId: null; pendingSequence: null }
      • fromElementId: null

        ID of the element whose keyboard started the pending sequence.

      • pendingSequence: null

        The pending sequence for the current layer — only one waiting sequence per layer is allowed.