package ezjs_min

  1. Overview
  2. Docs
val setInnerHtml : < innerHTML : < set : Js.js_string Js.t -> unit.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> string -> unit
val 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
val 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
val 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
val 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
val 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
val 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
val removeAttribute : < removeAttribute : Js.js_string Js.t -> 'res Js_of_ocaml.Js.meth.. > Js_of_ocaml.Js.t -> string -> 'res
val 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
val 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
val 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
val children : < childNodes : < get : 'a Ezjs_min.Js.Dom.nodeList Js_of_ocaml.Js.t.. > Js_of_ocaml.Js.gen_prop.. > Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t list
val removeChildi : Ezjs_min.Js.Dom.node Js_of_ocaml.Js.t -> int -> unit
val removeChildren : Ezjs_min.Js.Dom.node Js_of_ocaml.Js.t -> unit
val addListener : < .. > Js_of_ocaml.Js.t -> string -> ('a Ezjs_min.Js.Dom.event Js_of_ocaml.Js.t -> bool) -> unit
module El : sig ... end
val encapse : string -> string
val strings_to_array : string list -> string
val strings_to_object : (string * string) list -> 'res
OCaml

Innovation. Community. Security.