package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
11.0.1.tar.gz
md5=3aeeca5f734f8e932b5a00fbfd43bd26
sha512=d92948949c81fe5b84f7d262b72653175d4f69574cbb4f85433f3a40df436e9e78b3f024ebcd98cb0e1c8ec45af0e3f9cd1153187549883f4ddfd32feeee3176
doc/eliom.server/Eliom_content/Html/Id/index.html
Module Html.Id
Source
Node identifiers
The type of global HTML element identifier.
The function new_elt_id ()
creates a new global HTML element identifier (see the Eliom manual for more information on
<<a_manual project="eliom" chapter="clientserver-html"
fragment="global"|global element>>
).
The function create_named_elt ~id elt
create a copy of the element elt
that will be sent to client with the reference id
.
The function create_named_elt elt
is equivalent to create_named_elt ~id:(new_elt_id ()) 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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>