Module Js_of_ocaml__.ResizeObserver

class type resizeObserverSize = object ... end
class type resizeObserverEntry = object ... end
class type resizeObserverOptions = object ... end
class type resizeObserver = object ... end
val empty_resize_observer_options : unit -> resizeObserverOptions Js_of_ocaml.Js.t
val resizeObserver : ((resizeObserverEntry Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> resizeObserver Js_of_ocaml.Js.t -> unit) Js_of_ocaml.Js.callback -> resizeObserver Js_of_ocaml.Js.t) Js_of_ocaml.Js.constr
val is_supported : unit -> bool
val observe : node:Js_of_ocaml__.Dom.#node Js_of_ocaml.Js.t -> f:(resizeObserverEntry Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> resizeObserver Js_of_ocaml.Js.t -> unit) -> ?⁠box:Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> unit -> resizeObserver Js_of_ocaml.Js.t

Helper to create a new observer and connect it to a node.