banira
    Preparing search index...

    Interface PrerenderOptions

    interface PrerenderOptions {
        attributes?: Record<string, string>;
        compilerOptions?: CompilerOptions;
        inlineStyles?: boolean;
        readyTimeout?: number;
    }
    Index

    Properties

    attributes?: Record<string, string>

    Attributes to set on each prerendered element.

    compilerOptions?: CompilerOptions
    inlineStyles?: boolean

    Inline the component's constructable stylesheet(s) into the DSD template as a <style data-banira-critical> so the prerendered markup is styled before JS (FOUC-free). Default true. On hydration, hydrateShadow drops this inline style once it adopts the (deduped) constructable sheet.

    readyTimeout?: number