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

    Variable renderConst

    render: {
        _testOnlyClearSanitizerFactoryDoNotCallOrElse: () => void;
        createSanitizer: SanitizerFactory;
        setSanitizer: (newSanitizer: SanitizerFactory) => void;
        (
            value: unknown,
            container: HTMLElement | DocumentFragment,
            options?: RenderOptions,
        ): RootPart;
    }

    Renders a value, usually a lit-html TemplateResult, to the container.

    This example renders the text "Hello, Zoe!" inside a paragraph tag, appending it to the container document.body.

    import {html, render} from 'lit';

    const name = "Zoe";
    render(html`<p>Hello, ${name}!</p>`, document.body);

    Type declaration

      • (
            value: unknown,
            container: HTMLElement | DocumentFragment,
            options?: RenderOptions,
        ): RootPart
      • Parameters

        • value: unknown

          Any renderable value, typically a TemplateResult created by evaluating a template tag like html or svg.

        • container: HTMLElement | DocumentFragment

          A DOM container to render to. The first render will append the rendered value to the container, and subsequent renders will efficiently update the rendered value if the same result type was previously rendered there.

        • Optionaloptions: RenderOptions

          See RenderOptions for options documentation.

        Returns RootPart

    • _testOnlyClearSanitizerFactoryDoNotCallOrElse: () => void
    • createSanitizer: SanitizerFactory
    • setSanitizer: (newSanitizer: SanitizerFactory) => void