rovalra
    Preparing search index...

    Function injectStylesheet

    • Injects a CSS file into the document's head as a tag. Ensures the stylesheet is only added once.

      Parameters

      • cssPath: string

        The path to the CSS file relative to the extension's root.

      • id: string

        A unique ID for the element to prevent duplicates.

      Returns void