AwaitedDOM / DOMRect
Draft
This page is not complete.
This page is not complete.
Properties
.height W3C {#height}
The height of the DOMRect
.
Type: Promise<number>
.width W3C {#width}
The width of the DOMRect
.
Type: Promise<number>
.x W3C {#x}
The x coordinate of the DOMRect
's origin.
Type: Promise<number>
.y W3C {#y}
The y coordinate of the DOMRect
's origin.
Type: Promise<number>
.bottom W3C {#bottom}
Returns the bottom coordinate value of the DOMRect
(usually the same as y + height).
Type: Promise<number>
.height W3C {#height}
The height of the DOMRect
.
Type: Promise<number>
.left W3C {#left}
Returns the left coordinate value of the DOMRect
(usually the same as x
).
Type: Promise<number>
.right W3C {#right}
Returns the right coordinate value of the DOMRect
(usually the same as x + width
).
Type: Promise<number>
.top W3C {#top}
Returns the top coordinate value of the DOMRect
(usually the same as y
.)
Type: Promise<number>
.width W3C {#width}
The width of the DOMRect
.
Type: Promise<number>
.x W3C {#x}
The x coordinate of the DOMRect
's origin.
Type: Promise<number>
.y W3C {#y}
The y coordinate of the DOMRect
's origin.
Type: Promise<number>
Unimplemented Specs
Methods
fromRect() | fromRect() |