Variable DOMRect
DOMRect: {
prototype: DOMRect;
fromRect(other?: DOMRectInit): DOMRect;
new (x?: number, y?: number, width?: number, height?: number): DOMRect;
}
prototype: DOMRect;
fromRect(other?: DOMRectInit): DOMRect;
new (x?: number, y?: number, width?: number, height?: number): DOMRect;
}
Type declaration
- prototype: DOMRect
- fromRect:function- fromRect(other?: DOMRectInit): DOMRect
- Parameters- Optionalother: DOMRectInit
 - Returns DOMRect
 
MDN Reference