Liking cljdoc? Tell your friends :D
ClojureScript only.

web.css.CSSUnitValue

The CSSUnitValue interface of the CSS Typed Object Model API values that contain a single unit type. For example, "42px" be represented by a CSSNumericValue.

The CSSUnitValue interface of the CSS Typed Object Model API
values that contain a single unit type. For example, \"42px\"
be represented by a CSSNumericValue.
raw docstring

set-value!cljs

(set-value! this val)

Property.

[Draft] [Experimental]

The CSSUnitValue.value property of the web.css.CSSUnitValue returns a double indicating the number of units.

var cssUnitValue = CSSUnitValue.value; CSSUnitValue.value = cssUnitValue;

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

Property.

[Draft]
[Experimental]

The CSSUnitValue.value property of the `web.css.CSSUnitValue`
returns a double indicating the number of units.

`var cssUnitValue = CSSUnitValue.value;
CSSUnitValue.value = cssUnitValue;`

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

unitcljs

(unit this)

Property.

[Read Only] [Draft] [Experimental]

The CSSUnitValue.unit read-only property of the web.css.CSSUnitValue returns a web.USVString indicating the type of unit.

var aString = CSSUnitValue.unit;

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

Property.

[Read Only]
[Draft]
[Experimental]

The CSSUnitValue.unit read-only property of the `web.css.CSSUnitValue`
returns a `web.USVString` indicating the type of unit.

`var aString = CSSUnitValue.unit;`

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

valuecljs

(value this)

Property.

[Draft] [Experimental]

The CSSUnitValue.value property of the web.css.CSSUnitValue returns a double indicating the number of units.

var cssUnitValue = CSSUnitValue.value; CSSUnitValue.value = cssUnitValue;

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

Property.

[Draft]
[Experimental]

The CSSUnitValue.value property of the `web.css.CSSUnitValue`
returns a double indicating the number of units.

`var cssUnitValue = CSSUnitValue.value;
CSSUnitValue.value = cssUnitValue;`

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

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

× close