Namespace DecorationStyle
Functions
createStyleElement
- createStyleElement(styleId: string, container?: HTMLElement): HTMLStyleElement
Parameters
styleId: string
container: HTMLElement = document.head
Returns HTMLStyleElement
createStyleSheet
- createStyleSheet(styleId: string, container?: HTMLElement): CSSStyleSheet
Parameters
styleId: string
Optional container: HTMLElement
Returns CSSStyleSheet
deleteStyleRule
- deleteStyleRule(selector: string, styleSheet: CSSStyleSheet): void
Parameters
selector: string
styleSheet: CSSStyleSheet
Returns void
getOrCreateStyleRule
- getOrCreateStyleRule(selector: string, styleSheet: CSSStyleSheet): CSSStyleRule
Parameters
selector: string
styleSheet: CSSStyleSheet
Returns CSSStyleRule