Liking cljdoc? Tell your friends :D
ClojureScript only.

web.css.CSSPositionValue

The CSSPositionValue interface of the the CSS Typed Object Model represents values for properties that take a position, for example

The CSSPositionValue interface of the the CSS Typed Object Model
represents values for properties that take a position, for example
raw docstring

constructorcljs

Constructor.

The CSSPositionValue constructor creates a new web.css.CSSPositionValue object which represents values for properties that take a position, for example object-position.

x A position along the web page's horizontal axis. y A position along the web page's vertical axix.

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

Constructor.

The CSSPositionValue constructor creates a new `web.css.CSSPositionValue` object which represents values for properties that take a position, for example `object-position`.

x
A position along the web page's horizontal axis.
y
A position along the web page's vertical axix.

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

set-x!cljs

(set-x! this val)

Property.

The x property of the web.css.CSSPositionValue interface returns the item's position along the web page's horizontal axis.

var x = CSSPositionValue.x

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPositionValue/x

Property.

The x property of the `web.css.CSSPositionValue` interface returns
the item's position along the web page's horizontal axis.

`var x = CSSPositionValue.x`

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

set-y!cljs

(set-y! this val)

Property.

The y property of the web.css.CSSPositionValue interface returns item's position along the vertical axis.

var y = CSSPositionValue.y

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPositionValue/y

Property.

The y property of the `web.css.CSSPositionValue` interface returns
item's position along the vertical axis.

`var y = CSSPositionValue.y`

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

xcljs

(x this)

Property.

The x property of the web.css.CSSPositionValue interface returns the item's position along the web page's horizontal axis.

var x = CSSPositionValue.x

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPositionValue/x

Property.

The x property of the `web.css.CSSPositionValue` interface returns
the item's position along the web page's horizontal axis.

`var x = CSSPositionValue.x`

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

ycljs

(y this)

Property.

The y property of the web.css.CSSPositionValue interface returns item's position along the vertical axis.

var y = CSSPositionValue.y

See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPositionValue/y

Property.

The y property of the `web.css.CSSPositionValue` interface returns
item's position along the vertical axis.

`var y = CSSPositionValue.y`

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

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

× close