API / geotoolkit / report / dom / css / CssRule / CssRule
Defines CSS Rule
CssRule
Constructors
Accessors
Methods
Accessors
• get cssText(): string
Represents the textual representation of the rule, e.g. "h1,h2 { font-size: 16pt }" or "@import 'url'". To access or modify parts of the rule (e.g. the value of "font-size" in the example)
Name
module:geotoolkit/report/dom/css/CssRule~CssRule#cssText
string
• get parentRule(): CssRule
Returns the containing rule, otherwise null. E.g. if this rule is a style rule inside an
Media
block, the parent rule would be that CSSMediaRule.
Name
module:geotoolkit/report/dom/css/CssRule~CssRule#parentRule
• get parentStyleSheet(): CssStyleSheet
Returns the object for the style sheet that contains this rule
Name
module:geotoolkit/report/dom/css/CssRule~CssRule#parentStyleSheet