structured-render - v1.2.0
    Preparing search index...

    Function insertStyleSheet

    • Inserts a new stylesheet into a ShadowRoot.

      Parameters

      • __namedParameters: {
            maintainFirstStylesheet: boolean;
            newStyles: string;
            oldStyles: string;
            shadowRoot: ShadowRoot;
        }

      Returns boolean

      Whether the new styles were set or not.