This is client API (go to server)

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

Module Eliom_content.​Html5.​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.Html5.D.elt ->
  'a Eliom_content.Html5.elt Eliom_pervasives.client_value ->
  'a Eliom_content.Html5.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.Html5.attrib ->
  'a Eliom_content.Html5.attrib Eliom_pervasives.client_value ->
  'a Eliom_content.Html5.attrib