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 animated_normalized_path_seg_list : svg_path_seg_list
method animated_path_seg_list : svg_path_seg_list
method append_child : node -> unit
method attributes : attribute list
method child_nodes : node list
method clone_node : node -> ?deep:bool -> unit -> node
method create_close_path : unit -> svg_path_seg
method create_lineto_abs : float -> float -> svg_path_seg
method create_lineto_rel : float -> float -> svg_path_seg
method create_moveto_abs : float -> float -> svg_path_seg
method create_moveto_rel : float -> float -> svg_path_seg
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 has_attributes : bool
method has_child_nodes : 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 normalized_path_seg_list : svg_path_seg_list
method owner_document : document option
method parent_node : node option
method path_seg_list : svg_path_seg_list
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_text_content : string -> unit
method style : css_style_declaration
method text_content : string
method to_js : Ojs.t
OCaml

Innovation. Community. Security.