package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated Will be removed past 2019-01-01. Use Js_of_ocaml.MutationObserver instead.
class type mutationObserverInit = object ... end
class type mutationRecord = object ... end
class type mutationObserver = object ... end
val empty_mutation_observer_init : unit -> mutationObserverInit Js_of_ocaml.Js.t
val is_supported : unit -> bool
val observe : node:Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> f: (mutationRecord Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> mutationObserver Js_of_ocaml.Js.t -> unit) -> ?child_list:bool -> ?attributes:bool -> ?character_data:bool -> ?subtree:bool -> ?attribute_old_value:bool -> ?character_data_old_value:bool -> ?attribute_filter:Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t list -> unit -> mutationObserver Js_of_ocaml.Js.t

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

OCaml

Innovation. Community. Security.