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

Module Eliom_content.Html.C

module C : sig..end

Creation of HTML5 content from client-side values. This module is available on client side only to make possible to use C-nodes in shared sections.

Content injection

val node : 
  ?init:'a Eliom_content.Html.D.elt ->
  'a Eliom_content.Html.elt Eliom_client_value.t ->
  'a Eliom_content.Html.D.elt

Those two functions are the identity on client-side (the init argument is ignored). See Eliom manual for more detail on Dom & Client-values .

val attr : 
  ?init:'a Eliom_content.Html.attrib ->
  'a Eliom_content.Html.attrib Eliom_client_value.t ->
  'a Eliom_content.Html.attrib