banira
    Preparing search index...

    Interface RenderToStringOptions

    Options for a single Prerenderer.renderToString call.

    interface RenderToStringOptions {
        attributes?: Record<string, string>;
        children?: string;
    }
    Index

    Properties

    attributes?: Record<string, string>

    Attributes to set on the host element (names validated, values HTML-escaped on output).

    children?: string

    Light-DOM children placed inside the host, projected into slots. This is raw HTML, inserted verbatim — escape any untrusted/user-supplied text before passing it here, or it becomes an injection vector (security-findings #14).