@arcmantle/adapter-element
    Preparing search index...

    Variable htmlConst

    html: (strings: TemplateStringsArray, ...values: unknown[]) => TemplateResult<1>

    Interprets a template literal as an HTML template that can efficiently render to and update a container.

    const header = (title: string) => html`<h1>${title}</h1>`;
    

    The html tag returns a description of the DOM to render as a value. It is lazy, meaning no work is done until the template is rendered. When rendering, if a template comes from the same expression as a previously rendered result, it's efficiently updated instead of replaced.

    Type declaration

      • (strings: TemplateStringsArray, ...values: unknown[]): TemplateResult<1>
      • Parameters

        • strings: TemplateStringsArray
        • ...values: unknown[]

        Returns TemplateResult<1>