Module Svg.Id
Node identifiers.
type +'a idThe type of global SVG element identifier.
val new_elt_id : ?global:bool -> unit -> 'a idThe function new_elt_id () creates a new HTML5 element identifier. (see the Eliom manual for more information on global element).
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.