AUTO_CLASSED

AUTO_CLASSED

Type: string

AUTO_COLOR_SELECTOR

AUTO_COLOR_SELECTOR

Type: string

G_DATA_SELECTOR

G_DATA_SELECTOR

Type: string

insertCSS

Inserts text as css into the head of an html document. No checking as to validity of the css is done, just inserts a style element at the beginning of the head.

insertCSS(cssText: string, id: string): HTMLElement
Parameters
cssText (string) textual css for insertion
id (string) optional id for style element
Returns
HTMLElement: the style html element inserted

isCSSInserted

isCSSInserted(id: string): boolean
Parameters
id (string)
Returns
boolean

isIdStyleElement

isIdStyleElement(c: Element, id: string): boolean
Parameters
c (Element)
id (string)
Returns
boolean