package ocaml-vdom

  1. Overview
  2. Docs

Module Js_browser.ElementSource

Sourcetype t
Sourceval t_of_js : Ojs.t -> t
Sourceval t_to_js : t -> Ojs.t
Sourceval null : t
Sourceval clone_node : t -> bool -> t
Sourceval contains : t -> t -> bool
Sourceval append_child : t -> t -> unit
Sourceval insert_before : t -> t -> t -> unit
Sourceval replace_child : t -> t -> t -> unit
Sourceval remove_child : t -> t -> unit
Sourceval first_child : t -> t
Sourceval last_child : t -> t
Sourceval next_sibling : t -> t
Sourceval remove_all_children : t -> unit
Sourceval has_child_nodes : t -> bool
Sourceval add_event_listener : t -> Event.kind -> (Event.t -> unit) -> bool -> unit
Sourceval add_cancellable_event_listener : t -> Event.kind -> (Event.t -> unit) -> bool -> unit -> unit
Sourceval inner_text : t -> string
Sourceval get_elements_by_tag_name : t -> string -> t array
Sourceval get_elements_by_class_name : t -> string -> t array
Sourceval has_attribute : t -> string -> bool
Sourceval get_attribute : t -> string -> string
Sourceval remove_attribute : t -> string -> unit
Sourceval set_attribute : t -> string -> string -> unit
Sourceval get_bounding_client_rect : t -> Rect.t
Sourceval get_bounding_box : t -> SVGRect.t
Sourceval normalize : t -> unit
Sourceval value : t -> string
Sourceval set_value : t -> string -> unit
Sourceval select : t -> unit
Sourceval files : t -> File.t list
Sourceval selected_index : t -> int
Sourceval checked : t -> bool
Sourceval set_checked : t -> bool -> unit
Sourceval node_value : t -> string
Sourceval set_node_value : t -> string -> unit
Sourceval parent_node : t -> t
Sourceval node_name : t -> string
Sourceval dispatch_event : t -> Event.t -> bool
Sourceval style : t -> Style.t
Sourceval set_inner_HTML : t -> string -> unit
Sourceval set_text_content : t -> string -> unit
Sourceval set_class_name : t -> string -> unit
Sourceval class_name : t -> string
Sourceval client_width : t -> int
Sourceval client_height : t -> int
Sourceval scroll_width : t -> int
Sourceval scroll_height : t -> int
Sourceval width : t -> int
Sourceval height : t -> int
Sourceval offset_parent : t -> t option
Sourceval offset_top : t -> int
Sourceval offset_left : t -> int
Sourceval offset_width : t -> int
Sourceval offset_height : t -> int
Sourceval scroll_top : t -> float
Sourceval set_scroll_top : t -> float -> unit
Sourceval focus : t -> unit
Sourceval blur : t -> unit
Sourceval selection_start : t -> int
Sourceval selection_end : t -> int
Sourceval set_selection_start : t -> int -> unit
Sourceval set_selection_end : t -> int -> unit
Sourceval remove : t -> unit
Sourceval click : t -> unit