Module Eliom_content.HtmlSource

Building valid (X)HTML5.

See the Eliom manual for more information on dom semantics vs. functional semantics for HTML5 tree manipulated by client/server application.

Sourcetype +'a elt
Sourcetype +'a attrib
Sourcetype uri = Xml.uri
Sourcetype 'a form_param
Sourcemodule F : sig ... end

Creation of functional HTML5 content (copy-able but not referable).

Sourcemodule D : sig ... end

Creation of HTML5 content with DOM semantics (referable)

Sourcemodule R : sig ... end

Creation of HTML5 content from React signals. HTML5's trees are automatically updated whenever corresponding signals change.

Sourcemodule 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.

Sourcemodule Id : sig ... end

Node identifiers

Sourcemodule Custom_data : sig ... end

Conversion from HTML5 elts to Javascript DOM elements (<: Js_of_ocaml.Dom_html.element). One conversion function per source type (stressed by the of_ prefix).

Sourcemodule Manip : sig ... end

DOM-like manipulation functions.

Conversion functions from DOM nodes (Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t) to Eliom nodes (Eliom_content.Html.elt).