This is client API (go to server)

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