ink-cartridge
    Preparing search index...

    Type Alias ActivateElementFn

    ActivateElementFn: (targetLayerId: string, targetElementId: string) => void

    Marks a layer element as active (active: true). The element stays mounted either way — the flag is purely keyboard-side: on the next sync the keyboard adapter puts the element's ID back into the layer's activeElements set, so the keyboard engine resumes dispatching key events to the element's bindings without the screen system touching the keyboard engine directly.

    Type Declaration

      • (targetLayerId: string, targetElementId: string): void
      • Parameters

        • targetLayerId: string
        • targetElementId: string

        Returns void