AUTO_CLASSED

src/cssutil.ts
AUTO_CLASSED

Type: string

AUTO_COLOR_SELECTOR

src/cssutil.ts
AUTO_COLOR_SELECTOR

Type: string

G_DATA_SELECTOR

src/cssutil.ts
G_DATA_SELECTOR

Type: string

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

src/cssutil.ts
isCSSInserted(id: string): boolean
Parameters
id (string)
Returns
boolean

isIdStyleElement

src/cssutil.ts
isIdStyleElement(c: Element, id: string): boolean
Parameters
c (Element)
id (string)
Returns
boolean