CSSStyleSheet
[<Interface>]
type CSSStyleSheet =
abstract member cssRules: CSSRuleList
abstract member ownerRule: CSSRule option
abstract member rules: CSSRuleList
static member Create (cssRules: CSSRuleList, rules: CSSRuleList, addRule: Func<string option,string option,float option,float>, deleteRule: float -> unit, insertRule: Func<string,float option,float>, removeRule: float option -> unit, replace: string -> Promise<CSSStyleSheet>, replaceSync: string -> unit, disabled: bool, media: MediaList, type: string, ?ownerRule: CSSRule, ?href: string, ?ownerNode: U2<Element,ProcessingInstruction>, ?parentStyleSheet: CSSStyleSheet, ?title: string) : CSSStyleSheet
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 | Xantham.Fable.Core.TS |
| Implements | StyleSheet |
| Attributes | [<Interface>] |
Properties
abstract member cssRules: CSSRuleList
abstract member ownerRule: CSSRule option
abstract member rules: CSSRuleList
Methods
static member Create (cssRules: CSSRuleList, rules: CSSRuleList, addRule: Func<string option,string option,float option,float>, deleteRule: float -> unit, insertRule: Func<string,float option,float>, removeRule: float option -> unit, replace: string -> Promise<CSSStyleSheet>, replaceSync: string -> unit, disabled: bool, media: MediaList, type: string, ?ownerRule: CSSRule, ?href: string, ?ownerNode: U2<Element,ProcessingInstruction>, ?parentStyleSheet: CSSStyleSheet, ?title: string) : CSSStyleSheet
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