Liking cljdoc? Tell your friends :D

web.cssdom.CSSStyleRule

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

CSSStyleRule represents a single CSS style rule. It implements
`web.cssdom.CSSRule` interface with a type value of 1 (CSSRule.STYLE_RULE).
raw docstring

selector-textcljs

(selector-text this)

Property.

The CSSRule.selectorText property gets the textual representation the selector for the rule set. This is readonly in some browsers; set stylesheet rules dynamically cross-browser, see Using dynamic information.

string = cssRule.selectorText

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText

Property.

The CSSRule.selectorText property gets the textual representation
the selector for the rule set. This is readonly in some browsers;
set stylesheet rules dynamically cross-browser, see Using dynamic
information.

`string = cssRule.selectorText`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText`
sourceraw docstring

set-selector-text!cljs

(set-selector-text! this val)

Property.

The CSSRule.selectorText property gets the textual representation the selector for the rule set. This is readonly in some browsers; set stylesheet rules dynamically cross-browser, see Using dynamic information.

string = cssRule.selectorText

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText

Property.

The CSSRule.selectorText property gets the textual representation
the selector for the rule set. This is readonly in some browsers;
set stylesheet rules dynamically cross-browser, see Using dynamic
information.

`string = cssRule.selectorText`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/selectorText`
sourceraw docstring

stylecljs

(style this)

Property.

[Read Only]

The CSSRule.style property is the web.cssdom.CSSStyleDeclaration for the declaration block of the web.cssdom.CSSRule.

styleObj = cssRule.style

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/style

Property.

[Read Only]

The CSSRule.style property is the `web.cssdom.CSSStyleDeclaration`
for the declaration block of the `web.cssdom.CSSRule`.

`styleObj = cssRule.style`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/style`
sourceraw docstring

style-mapcljs

(style-map this)

Property.

[Read Only] [Draft] [Experimental]

The styleMap read-only property of the web.cssdom.CSSStyleRule returns a web.css.StylePropertyMap object which provides access rule's property-value pairs.

var stylePropertyMap = CSSStyleRule.styleMap;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/styleMap

Property.

[Read Only]
[Draft]
[Experimental]

The styleMap read-only property of the `web.cssdom.CSSStyleRule`
returns a `web.css.StylePropertyMap` object which provides access
rule's property-value pairs.

`var stylePropertyMap = CSSStyleRule.styleMap;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule/styleMap`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close