W3cubDocs

/Haxe JavaScript

CSSStyleRule

package js.html

extends CSSRule

Available on js

CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).

Documentation CSSStyleRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

selectorText:String

Gets the textual representation of the selector for this rule, e.g. "h1,h2".

read onlystyle:CSSStyleDeclaration

Returns the CSSStyleDeclaration object for the rule.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSStyleRule.html