package ocaml-js-stdlib

  1. Overview
  2. Docs
method append_child : node -> unit
method attributes : attribute list
method body : element
method child_nodes : node list
method clone_node : node -> ?deep:bool -> unit -> node
method close : unit
method create_element : string -> element
method create_element_ns : string -> string -> element
method first_child : node option
method get_attribute : string -> string option
method get_element_by_id : string -> element option
method get_elements_by_class_name : string -> element list
method get_elements_by_tag_name : string -> element list
method has_attributes : bool
method has_child_nodes : bool
method inner_text : string
method insert_before : new_child:node -> ref_child:node option -> unit
method is_supported : string -> string -> bool
method last_child : node option
method next_sibling : node option
method node_name : string
method node_type : [ `Attribute | `CData | `Comment | `Document | `Document_fragment | `Document_type | `Element | `Processing_instruction | `Text ]
method node_value : string option
method normalize : unit
method open_ : ?mime_type:string -> ?history_mode:string -> unit -> unit
method owner_document : document option
method parent_node : node option
method previous_sibling : node option
method query_selector : string -> element option
method query_selector_all : string -> element list
method remove_child : node -> unit
method replace_child : new_child:node -> old_child:node -> unit
method set_attribute : string -> string -> unit
method set_title : string -> unit
method text_content : string
method to_js : Ojs.t
method write : string -> unit
method writeln : string -> unit
OCaml

Innovation. Community. Security.