banira
    Preparing search index...

    Function declarativeShadowDom

    • Wraps shadow-root markup in a Declarative Shadow DOM template for tagName. Any children (light-DOM HTML) are placed after the template, inside the host, so they project into the component's slots on the client.

      Parameters

      • tagName: string
      • shadowHtml: string
      • attributes: Record<string, string> = {}
      • children: string = ''

      Returns string