Skip to content

DOMRectReadOnly

Values

fromRect

let fromRect: (
~other: WebAPI.DOMAPI.domRectInit=?,
) => WebAPI.DOMAPI.domRectReadOnly

Parameters

option< WebAPI.DOMAPI.domRectInit >

Return type

WebAPI.DOMAPI.domRectReadOnly

make

let make: (
~x: float=?,
~y: float=?,
~width: float=?,
~height: float=?,
) => WebAPI.DOMAPI.domRectReadOnly

Parameters

option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domRectReadOnly

toJSON

let toJSON: WebAPI.DOMAPI.domRectReadOnly => Dict.t<string>

Parameters

WebAPI.DOMAPI.domRectReadOnly

Return type

Dict.t< string >