package eliom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module W : sig ... end
type uri = string
val uri_of_string : uri -> string
val string_of_uri : string -> uri
val uri_of_fun : (unit -> string) -> uri
type aname = string
type attrib
type caml_event_handler =
  1. | CE_registered_closure of string * Eliom_lib.poly
  2. | CE_client_closure of Dom_html.event Js.t -> unit
  3. | CE_client_closure_mouse of Dom_html.mouseEvent Js.t -> unit
  4. | CE_client_closure_keyboard of Dom_html.keyboardEvent Js.t -> unit
  5. | CE_call_service of ([ `A | `Form_get | `Form_post ] * (bool * string list) option * string option * Ocsigen_lib.poly) option Eliom_lazy.request
type internal_event_handler =
  1. | Raw of string
  2. | Caml of caml_event_handler
type event_handler = Dom_html.event Js.t -> unit
type mouse_event_handler = Dom_html.mouseEvent Js.t -> unit
type keyboard_event_handler = Dom_html.keyboardEvent Js.t -> unit
type ename = string
type elt
type !'a wrap = 'a
type !'a list_wrap = 'a list
type econtent = private
  1. | Empty
  2. | Comment of string
  3. | EncodedPCDATA of string
  4. | PCDATA of string
  5. | Entity of string
  6. | Leaf of ename * attrib list
  7. | Node of ename * attrib list * elt list
val internal_event_handler_of_service : ([ `A | `Form_get | `Form_post ] * (bool * string list) option * string option * Eliom_lib.poly) option Eliom_lazy.request -> internal_event_handler
type separator =
  1. | Space
  2. | Comma
type acontent = private
  1. | AFloat of float
  2. | AInt of int
  3. | AStr of string
  4. | AStrL of separator * string list
val acontent : attrib -> acontent
type racontent =
  1. | RA of acontent
  2. | RAReact of acontent option React.signal
  3. | RACamlEventHandler of caml_event_handler
  4. | RALazyStr of string Eliom_lazy.request
  5. | RALazyStrL of separator * string Eliom_lazy.request list
  6. | RAClient of string * attrib option * Eliom_lib.poly
val racontent : attrib -> racontent
val aname : attrib -> aname
val float_attrib : aname -> float -> attrib
val int_attrib : aname -> int -> attrib
val string_attrib : aname -> string -> attrib
val space_sep_attrib : aname -> string list -> attrib
val comma_sep_attrib : aname -> string list -> attrib
val internal_event_handler_attrib : aname -> internal_event_handler -> attrib
val event_handler_attrib : aname -> event_handler -> attrib
val mouse_event_handler_attrib : aname -> mouse_event_handler -> attrib
val keyboard_event_handler_attrib : aname -> keyboard_event_handler -> attrib
val uri_attrib : aname -> uri -> attrib
val uris_attrib : aname -> uri list -> attrib
val content : elt -> econtent
val pcdata : string -> elt
val encodedpcdata : string -> elt
val entity : string -> elt
val empty : unit -> elt
val comment : string -> elt
val leaf : ?a:attrib list -> ename -> elt
val node : ?a:attrib list -> ename -> elt list -> elt
val lazy_node : ?a:attrib list -> ename -> elt list Eliom_lazy.request -> elt
val cdata : string -> elt
val cdata_script : string -> elt
val cdata_style : string -> elt
type node_id =
  1. | NoId
  2. | ProcessId of string
  3. | RequestId of string
val string_of_node_id : node_id -> string
val make : ?id:node_id -> econtent -> elt
val make_dom : ?id:node_id -> Dom.node Js.t -> elt
val make_lazy : ?id:node_id -> elt lazy_t -> elt
val force_lazy : elt -> unit
val make_react : ?id:node_id -> elt React.signal -> elt
val make_process_node : ?id:string -> elt -> elt
val make_request_node : ?reset:bool -> elt -> elt
val get_node_id : elt -> node_id
type node =
  1. | DomNode of Dom.node Js.t
  2. | TyXMLNode of econtent
  3. | ReactNode of elt React.signal
  4. | ReactChildren of econtent * elt ReactiveData.RList.t
val get_node : elt -> node
val set_dom_node : elt -> Dom.node Js.t -> unit
val set_classes_of_elt : elt -> elt
OCaml

Innovation. Community. Security.