CSSStyleSheet
[<Interface>]
type CSSStyleSheet =
abstract member cssRules: CSSRuleList
abstract member ownerRule: CSSRule option
abstract member rules: CSSRuleList
abstract member addRule (?selector: string, ?style: string, ?index: float) : float
abstract member deleteRule (index: float) : unit
abstract member insertRule (rule: string, ?index: float) : float
abstract member removeRule (?index: float) : unit
abstract member replace (text: string) : Promise<CSSStyleSheet>
abstract member replaceSync (text: string) : unit
| |
|---|
| Assembly | Glutinum.Web |
| Inherits | obj \| null |
| Implements | StyleSheet |
| Attributes | [<AllowNullLiteral>] [<Interface>] [<Global>] |
Properties
abstract member ownerRule: CSSRule option
abstract member rules: CSSRuleList
Methods
abstract member addRule (?selector: string, ?style: string, ?index: float) : float
abstract member deleteRule (index: float) : unit
abstract member insertRule (rule: string, ?index: float) : float
abstract member removeRule (?index: float) : unit
abstract member replaceSync (text: string) : unit