Variable DOMRectReadOnly
DOMRectReadOnly : {
prototype: DOMRectReadOnly;
fromRect(other?: DOMRectInit): DOMRectReadOnly;
new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
}
prototype: DOMRectReadOnly;
fromRect(other?: DOMRectInit): DOMRectReadOnly;
new (x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
}
Type declaration
- new (x?, y?, width?, height?): DOMRectReadOnly
Parameters
Optional
x: numberOptional
y: numberOptional
width: numberOptional
height: number
Returns DOMRectReadOnly
prototype: DOMRectReadOnly
from
Rect :function- from
Rect (other?): DOMRectReadOnly Parameters
Optional
other: DOMRectInit
Returns DOMRectReadOnly
- from
MDN Reference