package eliom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Eliom_content_core.Html.Id end

Node identifiers

The type of global HTML5 element identifier.

val new_elt_id : ?global:bool -> unit -> 'a id

The function new_elt_id () creates a new HTML5 element identifier. (see the Eliom manual for more information on <<a_manual project="eliom" chapter="clientserver-html" fragment="global"|global element>>).

val create_named_elt : id:'a id -> 'a Eliom_content_core.Html.elt -> 'a Eliom_content_core.Html.elt

The function create_named_elt ~id elt create a copy of the element elt that will be accessible through the name id.

The function create_named_elt elt is equivalent to create_named_elt ~id:(new_elt_id ()) elt.

val get_element' : 'a id -> Js_of_ocaml__Dom_html.element Js_of_ocaml.Js.t
val get_element : 'a id -> 'b Of_dom.elt option
OCaml

Innovation. Community. Security.