Module Eliom_content.Html.R

module R: sig .. end

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


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.