Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DOMRectReadOnly

interface DOMRectReadOnly {
readonly bottom: number;
readonly height: number;
readonly left: number;
readonly right: number;
readonly top: number;
readonly width: number;
readonly x: number;
readonly y: number;
toJSON(): any;
}
var DOMRectReadOnly: {
prototype: DOMRectReadOnly;
new (
x?: number,
y?: number,
width?: number,
height?: number,
): DOMRectReadOnly;
fromRect(other?: DOMRectInit): DOMRectReadOnly;
}
;

§Properties

§
readonly bottom: number
[src]
§
readonly height: number
[src]
§
readonly left: number
[src]
§
readonly top: number
[src]
§
readonly width: number
[src]
§
readonly x: number
[src]
§
readonly y: number
[src]

§Methods

§
toJSON(): any
[src]