Liking cljdoc? Tell your friends :D

css.CSSStyleDeclaration

The CSSStyleDeclaration interface represents an object that is CSS declaration block, and exposes style information and various methods and properties.

The CSSStyleDeclaration interface represents an object that is
CSS declaration block, and exposes style information and various
methods and properties.
raw docstring

get-property-css-valuecljs

(get-property-css-value this property)

Method.

The CSSStyleDeclaration.getPropertyCSSValue() method interface a css.CSSValue containing the CSS value for a property.

var value = style.getPropertyCSSValue(property);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyCSSValue

Method.

The CSSStyleDeclaration.getPropertyCSSValue() method interface
a `css.CSSValue` containing the CSS value for a property.

`var value = style.getPropertyCSSValue(property);`

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

get-property-prioritycljs

(get-property-priority this property)

Method.

The CSSStyleDeclaration.getPropertyPriority() method interface a dom.DOMString that provides all explicitly set priorities the CSS property.

var priority = style.getPropertyPriority(property);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyPriority

Method.

The CSSStyleDeclaration.getPropertyPriority() method interface
a `dom.DOMString` that provides all explicitly set priorities
the CSS property.

`var priority = style.getPropertyPriority(property);`

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

get-property-valuecljs

(get-property-value this property)

Method.

The CSSStyleDeclaration.getPropertyValue() method interface returns dom.DOMString containing the value of a specified CSS property.

var value = style.getPropertyValue(property);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/getPropertyValue

Method.

The CSSStyleDeclaration.getPropertyValue() method interface returns
`dom.DOMString` containing the value of a specified CSS property.

`var value = style.getPropertyValue(property);`

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

itemcljs

(item this index)

Method.

The CSSStyleDeclaration.item() method interface returns a CSS name from a css.CSSStyleDeclaration by index

var propertyName = style.item(index);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/item

Method.

The CSSStyleDeclaration.item() method interface returns a CSS
name from a `css.CSSStyleDeclaration` by index

`var propertyName = style.item(index);`

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

lengthcljs

(length this)

Property.

The read-only property returns an integer that represents the of style declarations in this CSS declaration block.

var num = styles.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/length

Property.

The read-only property returns an integer that represents the
of style declarations in this CSS declaration block.

`var num = styles.length;`

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

parent-rulecljs

(parent-rule this)

Property.

The CSSStyleDeclaration.parentRule read-only property returns css.CSSRule that is the parent of this style block

var rule = styles.parentRule;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/parentRule

Property.

The CSSStyleDeclaration.parentRule read-only property returns
`css.CSSRule` that is the parent of this style block

`var rule = styles.parentRule;`

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

remove-propertycljs

(remove-property this property)

Method.

The CSSStyleDeclaration.removeProperty() method interface removes property from a CSS style declaration object.

var oldValue = style.removeProperty(property);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/removeProperty

Method.

The CSSStyleDeclaration.removeProperty() method interface removes
property from a CSS style declaration object.

`var oldValue = style.removeProperty(property);`

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

set-length!cljs

(set-length! this val)

Property.

The read-only property returns an integer that represents the of style declarations in this CSS declaration block.

var num = styles.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/length

Property.

The read-only property returns an integer that represents the
of style declarations in this CSS declaration block.

`var num = styles.length;`

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

set-parent-rule!cljs

(set-parent-rule! this val)

Property.

The CSSStyleDeclaration.parentRule read-only property returns css.CSSRule that is the parent of this style block

var rule = styles.parentRule;

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/parentRule

Property.

The CSSStyleDeclaration.parentRule read-only property returns
`css.CSSRule` that is the parent of this style block

`var rule = styles.parentRule;`

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

set-propertycljs

(set-property this property-name value priority)

Method.

The CSSStyleDeclaration.setProperty() method interface sets a value for a property on a CSS style declaration object.

style.setProperty(propertyName, value, priority);

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/setProperty

Method.

The CSSStyleDeclaration.setProperty() method interface sets a
value for a property on a CSS style declaration object.

`style.setProperty(propertyName, value, priority);`

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

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

× close