Liking cljdoc? Tell your friends :D

dom.DOMRectReadOnly

The DOMRectReadOnly interface specifies the standard properties by dom.DOMRect to define a rectangle.

The DOMRectReadOnly interface specifies the standard properties
by `dom.DOMRect` to define a rectangle.
raw docstring

bottomcljs

(bottom this)

Property.

The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.)

var recBottom = DOMRect.bottom;

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

Property.

The bottom read-only property of the DOMRectReadOnly interface
the bottom coordinate value of the DOMRect. (Has the same value
y height, or y if height is negative.)

`var recBottom = DOMRect.bottom;`

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

constructorcljs

Constructor.

The DOMRectReadOnly() constructor creates a new dom.DOMRectReadOnly object.

x The x coordinate of the DOMRectReadOnly's origin. y The y coordinate of the DOMRectReadOnly's origin. width The width of the DOMRectReadOnly. height The height of the DOMRectReadOnly.

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

Constructor.

The DOMRectReadOnly() constructor creates a new `dom.DOMRectReadOnly` object.

x
The x coordinate of the DOMRectReadOnly's origin.
y
The y coordinate of the DOMRectReadOnly's origin.
width
The width of the DOMRectReadOnly.
height
The height of the DOMRectReadOnly.

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

from-rectcljs

(from-rect this rectangle)

Method.

The fromRect() property of the dom.DOMRectReadOnly interface a new DOMRectReadOnly object with a given location and dimensions.

var domRect = DOMRectReadOnly.fromRect(rectangle)

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

Method.

The fromRect() property of the `dom.DOMRectReadOnly` interface
a new DOMRectReadOnly object with a given location and dimensions.

`var domRect = DOMRectReadOnly.fromRect(rectangle)`

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

heightcljs

(height this)

Property.

The height read-only property of the DOMRectReadOnly interface the height of the DOMRect.

var recHeight = DOMRect.height;

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

Property.

The height read-only property of the DOMRectReadOnly interface
the height of the DOMRect.

`var recHeight = DOMRect.height;`

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

leftcljs

(left this)

Property.

The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.)

var recLeft = DOMRect.left;

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

Property.

The left read-only property of the DOMRectReadOnly interface
the left coordinate value of the DOMRect. (Has the same value
x, or x width if width is negative.)

`var recLeft = DOMRect.left;`

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

(right this)

Property.

The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.)

var recRight = DOMRect.right;

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

Property.

The right read-only property of the DOMRectReadOnly interface
the right coordinate value of the DOMRect. (Has the same value
x width, or x if width is negative.)

`var recRight = DOMRect.right;`

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

set-bottom!cljs

(set-bottom! this val)

Property.

The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.)

var recBottom = DOMRect.bottom;

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

Property.

The bottom read-only property of the DOMRectReadOnly interface
the bottom coordinate value of the DOMRect. (Has the same value
y height, or y if height is negative.)

`var recBottom = DOMRect.bottom;`

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

set-height!cljs

(set-height! this val)

Property.

The height read-only property of the DOMRectReadOnly interface the height of the DOMRect.

var recHeight = DOMRect.height;

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

Property.

The height read-only property of the DOMRectReadOnly interface
the height of the DOMRect.

`var recHeight = DOMRect.height;`

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

set-left!cljs

(set-left! this val)

Property.

The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.)

var recLeft = DOMRect.left;

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

Property.

The left read-only property of the DOMRectReadOnly interface
the left coordinate value of the DOMRect. (Has the same value
x, or x width if width is negative.)

`var recLeft = DOMRect.left;`

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

set-right!cljs

(set-right! this val)

Property.

The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.)

var recRight = DOMRect.right;

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

Property.

The right read-only property of the DOMRectReadOnly interface
the right coordinate value of the DOMRect. (Has the same value
x width, or x if width is negative.)

`var recRight = DOMRect.right;`

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

set-top!cljs

(set-top! this val)

Property.

The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.)

var recTop = DOMRect.top;

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

Property.

The top read-only property of the DOMRectReadOnly interface returns
top coordinate value of the DOMRect. (Has the same value as y,
y height if height is negative.)

`var recTop = DOMRect.top;`

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

set-width!cljs

(set-width! this val)

Property.

The width read-only property of the DOMRectReadOnly interface the width of the DOMRect.

var recWidth = DOMRect.width;

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

Property.

The width read-only property of the DOMRectReadOnly interface
the width of the DOMRect.

`var recWidth = DOMRect.width;`

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

set-x!cljs

(set-x! this val)

Property.

The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin.

var recX = DOMRect.x;

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

Property.

The x read-only property of the DOMRectReadOnly interface represents
x coordinate of the DOMRect's origin.

`var recX = DOMRect.x;`

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

set-y!cljs

(set-y! this val)

Property.

The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin.

var recY = DOMRect.y;

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

Property.

The y read-only property of the DOMRectReadOnly interface represents
y coordinate of the DOMRect's origin.

`var recY = DOMRect.y;`

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

topcljs

(top this)

Property.

The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.)

var recTop = DOMRect.top;

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

Property.

The top read-only property of the DOMRectReadOnly interface returns
top coordinate value of the DOMRect. (Has the same value as y,
y height if height is negative.)

`var recTop = DOMRect.top;`

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

widthcljs

(width this)

Property.

The width read-only property of the DOMRectReadOnly interface the width of the DOMRect.

var recWidth = DOMRect.width;

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

Property.

The width read-only property of the DOMRectReadOnly interface
the width of the DOMRect.

`var recWidth = DOMRect.width;`

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

xcljs

(x this)

Property.

The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin.

var recX = DOMRect.x;

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

Property.

The x read-only property of the DOMRectReadOnly interface represents
x coordinate of the DOMRect's origin.

`var recX = DOMRect.x;`

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

ycljs

(y this)

Property.

The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin.

var recY = DOMRect.y;

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

Property.

The y read-only property of the DOMRectReadOnly interface represents
y coordinate of the DOMRect's origin.

`var recY = DOMRect.y;`

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

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

× close