Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Applying patches to DOM. To use with js_of_ocaml
.
val dom_of_xml :
?doc:Js_of_ocaml.Dom_html.document Js_of_ocaml.Js.t ->
Xmldiff.xmltree ->
Js_of_ocaml.Dom.node Js_of_ocaml.Js.t
Create a DOM node tree from the given XML tree.
val dom_node_by_path :
?doc:Js_of_ocaml.Dom_html.document Js_of_ocaml.Js.t ->
?skip_node:(Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> bool) ->
Xmldiff.patch_path ->
Js_of_ocaml.Dom.node Js_of_ocaml.Js.t
dom_node_by_path path
returns the DOM node corresponding to the given path
or raise Not_found
.
val apply_dom_patch :
?doc:Js_of_ocaml.Dom_html.document Js_of_ocaml.Js.t ->
?skip_node:(Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> bool) ->
(Xmldiff.patch_path * Xmldiff.patch_operation) list ->
unit
apply_dom_patch patch
applies the given patch to the DOM.