Function createStyles

  • Creates a HTML style element with the given styles.

    Parameters

    • styles: string

      CSS string

    • root: undefined | Element = document.head

      root element to add the style to (default: head)

    Returns HTMLStyleElement

Generated using TypeDoc