Skip to content

DOMRect

Values

asDOMRectReadOnly

let asDOMRectReadOnly: WebAPI.DOMAPI.domRect => WebAPI.DOMAPI.domRectReadOnly

fromRect

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

Parameters

option< WebAPI.DOMAPI.domRectInit >

Return type

WebAPI.DOMAPI.domRectReadOnly

fromRectD

let fromRectD: (
~other: WebAPI.DOMAPI.domRectInit=?,
) => WebAPI.DOMAPI.domRect

Parameters

option< WebAPI.DOMAPI.domRectInit >

Return type

WebAPI.DOMAPI.domRect

make

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

Parameters

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

Return type

WebAPI.DOMAPI.domRect

toJSON

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

Parameters

WebAPI.DOMAPI.domRect

Return type

Dict.t< string >