mithril-materialized
    Preparing search index...

    Function getPortalContainer

    • Creates or retrieves a portal container appended to document.body. Uses reference counting to manage container lifecycle.

      Parameters

      • id: string

        Unique identifier for the portal container

      • zIndex: number = 1004

        Z-index for the portal container (default: 1004, above modals at 1003)

      Returns HTMLElement

      The portal container element