package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

Dune Dependency

Authors

Maintainers

Sources

11.0.0.tar.gz
md5=1c1f8e90f27f81f0e7f002e79340d200
sha512=4c4266c2f979e6d23a7ed385d92e3c6513e27e6372e532171a1d03e385c5fb15ad791e23cee22d9411b253526094eba8496d5bd564b1feea8c6ded738cddda24

doc/eliom.server/Eliom_content/Svg/Id/index.html

Module Svg.IdSource

Node identifiers.

Sourcetype +'a id

The type of global SVG element identifier.

Sourceval 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>>).

Sourceval create_named_elt : id:'a id -> 'a elt -> 'a elt

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

Sourceval create_global_elt : 'a elt -> 'a elt

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

Sourceval create_request_elt : ?reset:bool -> 'a elt -> 'a elt

create_request_elt ?reset elt creates a referable copy of elt. If ~reset = true is provided (default: false), a new ID is created even if elt has an ID already.

OCaml

Innovation. Community. Security.