package ocaml-vdom

  1. Overview
  2. Docs
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
val create_element : t -> string -> Element.t
val create_element_ns : t -> string -> string -> Element.t
val create_text_node : t -> string -> Element.t
val create_event : t -> string -> Event.t
val get_element_by_id : t -> string -> Element.t option
val get_elements_by_class_name : t -> string -> Element.t array
val body : t -> Element.t
val document_element : t -> Element.t
val active_element : t -> Element.t
val set_title : t -> string -> unit
val open_ : t -> ?mime_type:string -> ?history_mode:string -> unit -> unit
val write : t -> string -> unit
val writeln : t -> string -> unit
val close : t -> unit
val exec_command : t -> string -> bool
val query_selector : t -> string -> Element.t
val remove_all_selection_ranges : t -> unit