ink-cartridge
    Preparing search index...

    Function eraseElementInModalLayer

    • Remove an element from a registered modal layer.

      The modal layer itself stays open — only the element is removed. Prefer deactivateElementInModalLayer when the element should stay mounted but stop receiving key events (its bindings are preserved for later reactivation).

      Parameters

      • targetModalLayerId: string
      • targetElementId: string

      Returns void

      eraseElementInModalLayer('settings-modal', 'advanced-section');