kit
    Preparing search index...

    Function injectCss

    • Inject css

      Parameters

      • id: string

        The <style> HTMLElement's id

      • cssString: string = ""

        The CSS to inject, defaults to an empty string

      • Optionalroot: HTMLElement | null

        The root HTMLElement where to prepend the style, defaults to document.body

      Returns void