package ocsigen-toolkit

  1. Overview
  2. Docs
type simple_stop = [
  1. | `Full_content
  2. | `Percent of int
  3. | `Px of int
]
type stop = [
  1. | `Full_content
  2. | `Interval of simple_stop * simple_stop
  3. | `Percent of int
  4. | `Px of int
]
type tongue = {
  1. elt : Html_types.div Eliom_content.Html.D.elt;
  2. stop_signal_before : simple_stop React.S.t Eliom_client_value.t;
  3. stop_signal_after : simple_stop React.S.t Eliom_client_value.t;
  4. swipe_pos : int React.S.t Eliom_client_value.t;
  5. px_signal_before : int React.S.t Eliom_client_value.t;
  6. px_signal_after : int React.S.t Eliom_client_value.t;
}
val tongue : ?a:[< Html_types.div_attrib ] Eliom_content.Html.attrib list -> ?side:[ `Bottom | `Left | `Right | `Top ] -> ?stops:stop list -> ?init:simple_stop -> ?handle:[> `Div ] Eliom_content.Html.elt -> ?update:simple_stop React.event Eliom_client_value.t -> [< Html_types.div_content_fun ] Eliom_content.Html.elt list -> tongue
OCaml

Innovation. Community. Security.