package ezjs_min

  1. Overview
  2. Docs

Module Ezjs_min.DomSource

Sourceval setInnerHtml : < innerHTML : < set : Js.js_string Js.t -> unit.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string -> unit
Sourceval setText : < textContent : < set : Js.js_string Js.t Js.opt -> unit.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string option -> unit
Sourceval addClass : < classList : < get : < add : Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string -> 'res
Sourceval addClasses : < classList : < get : < add : Js.js_string Js.t -> unit Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string list -> unit
Sourceval removeClass : < classList : < get : < remove : Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string -> 'res
Sourceval containsClass : < classList : < get : < contains : Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string -> 'res
Sourceval setAttribute : < setAttribute : Js.js_string Js.t -> Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> string -> 'res
Sourceval removeAttribute : < removeAttribute : Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> 'res
Sourceval getAttribute : < getAttribute : Js.js_string Js.t -> 'a Ezjs_min.Js.Opt.t Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> 'a option
Sourceval setCSS : < setAttribute : Js.js_string Js.t -> Js.js_string Js.t -> 'a Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> (string * string) list -> 'a
Sourceval addCSS : < getAttribute : Js.js_string Js.t -> string Ezjs_min.Js.Opt.t Js_of_ocaml.Js.meth ; setAttribute : Js.js_string Js.t -> Js.js_string Js.t -> 'a Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> (string * string) list -> 'a
Sourceval removeChildi : Ezjs_min.Js.Dom.node Js_of_ocaml.Js.t -> int -> unit
Sourceval removeChildren : Ezjs_min.Js.Dom.node Js_of_ocaml.Js.t -> unit
Sourceval addListener : < .. > Js_of_ocaml.Js.t -> string -> ('a Ezjs_min.Js.Dom.event Js_of_ocaml.Js.t -> bool) -> unit
Sourcemodule El : sig ... end
Sourceval encapse : string -> string
Sourceval strings_to_array : string list -> string
Sourceval strings_to_object : (string * string) list -> 'res