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
Optional
other: DOMRectInit
Returns DOMRect
MDN Reference