Lilact
    Preparing search index...

    Function render

    • Renders a component into a target DOM element. If the component maintains internal state, this typically mounts it (or updates the existing tree) under element.

      Parameters

      • component: Object

        Component instance to render.

      • element: string | HTMLElement

        Target element to render into. If a string is provided, it is resolved via document.querySelector.

      Returns void