Skip to content

DOMRectReadOnly

Values

fromRect

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

make

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

Parameters

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

Return type

WebAPI.DOM.domRectReadOnly

toJSON

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

Parameters

WebAPI.DOM.domRectReadOnly

Return type

Stdlib.Dict.t<string>