Skip to content

ResizeObserver

Values

disconnect

let disconnect: WebAPI.ResizeObserverAPI.resizeObserver => unit

Parameters

WebAPI.ResizeObserverAPI.resizeObserver

Return type

unit

make

let make: WebAPI.ResizeObserverAPI.resizeObserverCallback => WebAPI.ResizeObserverAPI.resizeObserver

observe

let observe: (
WebAPI.ResizeObserverAPI.resizeObserver,
~target: WebAPI.DOMAPI.element,
~options: WebAPI.ResizeObserverAPI.resizeObserverOptions=?,
) => unit

unobserve

let unobserve: (
WebAPI.ResizeObserverAPI.resizeObserver,
WebAPI.DOMAPI.element,
) => unit