.TH "Eliom_content.Svg.Id" 3o 2014-07-10 OCamldoc "" .SH NAME Eliom_content.Svg.Id \- Node identifiers .SH Module Module Eliom_content.Svg.Id .SH Documentation .sp Module .BI "Id" : .B sig end .sp Node identifiers .sp .sp .sp .sp .I type .B +'a .I id .sp The type of global SVG element identifier\&. .sp .sp .I val new_elt_id : .B ?global:bool -> unit -> 'a id .sp The function .B new_elt_id () creates a new HTML5 element identifier\&. (see the Eliom manual for more information on )\&. .sp .sp .I val create_named_elt : .B id:'a id -> .B 'a Eliom_content.Svg.elt -> 'a Eliom_content.Svg.elt .sp The function .B create_named_elt ~id elt create a copy of the element .B elt that will be accessible through the name .B id \&. .sp .sp .I val create_global_elt : .B 'a Eliom_content.Svg.elt -> 'a Eliom_content.Svg.elt .sp The function .B create_named_elt elt is equivalent to .B create_named_elt ~id:(new_elt_id ()) elt \&. .sp .sp .I val get_element : .B 'a id -> 'a Eliom_content.Svg.elt .sp .B get_element id returns the HTML element in the DOM with the given .B id \&. .sp .sp