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.
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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close