package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
11.1.1.tar.gz
md5=c8c67fe5fb8d3f44a3b17cc4a93a0e62
sha512=e58557a1b525efd011e0eb539b112b53e6c012ac3fb2153c251be030eda483dd3b19de625707cf5ffebd97fa6a7fabfb8a6aae8e8a61c79e0bd7ad2d289df9a9
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)"
>