Liking cljdoc? Tell your friends :D
ClojureScript only.

css.CSSStyleValue

The CSSStyleValue interface of the the CSS Typed Object Model is the base class of all CSS values accessible through the Typed API. An instance of this class may be used anywhere a string expected.

The CSSStyleValue interface of the the CSS Typed Object Model
is the base class of all CSS values accessible through the Typed
API. An instance of this class may be used anywhere a string
expected.
raw docstring

constructorcljs

Constructor.

The CSSUnitValue() constructor creates a new css.CSSUnitValue object which returns a new css.CSSUnitValue object which represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.

value Returns a double indicating the number of units. unit Returns a web.USVString indicating the type of unit.

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/CSSUnitValue

Constructor.

The CSSUnitValue() constructor creates a new `css.CSSUnitValue` object which returns a new `css.CSSUnitValue` object which represents values that contain a single unit type. For example, \"42px\" would be represented by a CSSNumericValue.

value
Returns a double indicating the number of units.
unit
Returns a `web.USVString` indicating the type of unit.

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

parsecljs

(parse this property css-text)

Method.

The parse() method of the css.CSSStyleValue interface sets specific CSS property to the specified values and returns the value as a css.CSSStyleValue object.

CSSStyleValue.parse(property, cssText)

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parse

Method.

The parse() method of the `css.CSSStyleValue` interface sets
specific CSS property to the specified values and returns the
value as a `css.CSSStyleValue` object.

`CSSStyleValue.parse(property, cssText)`

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

parse-allcljs

(parse-all this property value)

Method.

The parseAll() method of the css.CSSStyleValue interface sets occurences of a specific CSS property to the specified valueand an array of css.CSSStyleValue objects, each containing one the supplied values.

CSSStyleValue.parseAll(property, value)

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parseAll

Method.

The parseAll() method of the `css.CSSStyleValue` interface sets
occurences of a specific CSS property to the specified valueand
an array of `css.CSSStyleValue` objects, each containing one
the supplied values.

`CSSStyleValue.parseAll(property, value)`

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

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

× close