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.
(constructor & args)Constructor.
The CSSUnitValue() constructor creates a new web.css.CSSUnitValue object which returns a new web.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 `web.css.CSSUnitValue` object which returns a new `web.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`
(parse this property css-text)Method.
[Experimental]
The parse() method of the web.css.CSSStyleValue interface sets
specific CSS property to the specified values and returns the
value as a web.css.CSSStyleValue object.
CSSStyleValue.parse(property, cssText)
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parse
Method. [Experimental] The parse() method of the `web.css.CSSStyleValue` interface sets specific CSS property to the specified values and returns the value as a `web.css.CSSStyleValue` object. `CSSStyleValue.parse(property, cssText)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parse`
(parse-all this property value)Method.
[Experimental]
The parseAll() method of the web.css.CSSStyleValue interface
all occurences of a specific CSS property to the specified valueand
an array of web.css.CSSStyleValue objects, each containing
of the supplied values.
CSSStyleValue.parseAll(property, value)
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parseAll
Method. [Experimental] The parseAll() method of the `web.css.CSSStyleValue` interface all occurences of a specific CSS property to the specified valueand an array of `web.css.CSSStyleValue` objects, each containing of the supplied values. `CSSStyleValue.parseAll(property, value)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleValue/parseAll`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |