Trails Packages
    Preparing search index...
    • Renders the given component into the DOM and returns the new node.

      Parameters

      • component: string | CustomElementConstructor
      • Optionaloptions: { attributes?: Record<string, string>; container?: HTMLElement }

      Returns Promise<{ node: HTMLElement }>