Style Observer API
    Preparing search index...

    Function adoptCSS

    • Adopt CSS into a document or shadow root.

      Parameters

      • css: string

        The CSS to adopt.

      • Optionalroot: Document | ShadowRoot = globalThis.document

        The document or shadow root to adopt the CSS into.

      Returns any