Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_content.Html.R

module R : sig..end

Creation of HTML content from shared reactive signals and data (Eliom_shared ). For the operations provided, see Html_sigs.T .

include Html_sigs.Make(Xml_shared)(Svg.R.Raw).T
val pcdata : 
  string Eliom_shared.React.S.t ->
  [> Html_types.span ] Eliom_content.Html.elt

pcdata s produces a node of type [> Html_types.span] elt out of the string signal s.

val node : 
  'a Eliom_content.Html.elt Eliom_shared.React.S.t ->
  'a Eliom_content.Html.elt

node s produces an 'a elt out of the shared reactive signal s.

val filter_attrib : 
  'a Eliom_content.Html.attrib ->
  bool Eliom_shared.React.S.t -> 'a Eliom_content.Html.attrib

filter_attrib a b amounts to the attribute a while b is true, and to no attribute while b is false.