package ocaml-js-stdlib

  1. Overview
  2. Docs
method add_event_listener : 'a. 'a Event.t -> ('a -> unit) -> bool -> unit
method add_removable_event_listener : 'a. 'a Event.t -> ('a -> unit) -> bool -> 'a Event.callback
method append_child : node -> unit
method attributes : attribute list
method child_nodes : node list
method clone_node : node -> ?deep:bool -> unit -> node
method files : File.t list
method first_child : node option
method getBBox : bounding_box
method get_attribute : string -> string option
method get_bounding_client_rect : bounding_rect
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 get_type : string
method has_attributes : bool
method has_child_nodes : bool
method hidden : bool
method inner_HTML : string
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 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 remove_event_listener : 'a. 'a Event.t -> 'a Event.callback -> bool -> unit
method replace_child : new_child:node -> old_child:node -> unit
method set_attribute : string -> string -> unit
method set_hidden : bool -> unit
method set_text_content : string -> unit
method set_type : string -> unit
method style : css_style_declaration
method text_content : string
method to_js : Ojs.t