mithril-materialized
    Preparing search index...

    Function renderToPortal

    • Renders a Mithril vnode into a portal container using m.render(). This allows components to render outside their parent DOM hierarchy, useful for modals and pickers that need to escape stacking contexts.

      Parameters

      • containerId: string

        Portal container identifier

      • vnode: any

        Mithril vnode to render

      • zIndex: number = 1004

        Z-index for portal container (default: 1004)

      Returns void