package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type 'node nodeList = object ... end
type nodeType =
  1. | OTHER
  2. | ELEMENT
  3. | ATTRIBUTE
  4. | TEXT
  5. | CDATA_SECTION
  6. | ENTITY_REFERENCE
  7. | ENTITY
  8. | PROCESSING_INSTRUCTION
  9. | COMMENT
  10. | DOCUMENT
  11. | DOCUMENT_TYPE
  12. | DOCUMENT_FRAGMENT
  13. | NOTATION
module DocumentPosition : sig ... end
class type node = object ... end
class type attr = object ... end
class type 'a namedNodeMap = object ... end
class type element = object ... end
class type characterData = object ... end
class type comment = characterData
class type text = characterData
class type documentFragment = node
class type 'element document = object ... end
val insertBefore : node Js.t -> node Js.t -> node Js.t Js.opt -> unit
val replaceChild : node Js.t -> node Js.t -> node Js.t -> unit
val removeChild : node Js.t -> node Js.t -> unit
val appendChild : node Js.t -> node Js.t -> unit
val list_of_nodeList : 'a nodeList Js.t -> 'a Js.t list
type node_type =
  1. | Element of element Js.t
  2. | Attr of attr Js.t
  3. | Text of text Js.t
  4. | Other of node Js.t
val nodeType : node Js.t -> node_type
module CoerceTo : sig ... end
type (-'a, -'b) event_listener
class type 'a event = object ... end
val no_handler : ('a, 'b) event_listener
val handler : ('e event as 'b Js.t -> bool Js.t) -> ('a, 'b Js.t) event_listener
val full_handler : ('a -> 'e event as 'b Js.t -> bool Js.t) -> ('a, 'b Js.t) event_listener
val invoke_handler : ('a, 'b) event_listener -> 'a -> 'b -> bool Js.t
val eventTarget : 'a as 'b event Js.t -> 'b Js.t
type event_listener_id
module Event : sig ... end
val addEventListener : 'c as 'a Js.t -> 'b Event.typ -> ('a Js.t, 'b) event_listener -> bool Js.t -> event_listener_id
val removeEventListener : event_listener_id -> unit
val preventDefault : 'a event Js.t -> unit
class type stringList = object ... end
OCaml

Innovation. Community. Security.