package eliom
Client/server Web and mobile framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
10.1.2.tar.gz
md5=4ed25da253920c4d30672c52daae8c86
sha512=c5a0ff26c3b605e9807ba37b0f0c98f05af763c585a42621412dae59589fea8ffa9aa279d4af5e59a3a20a01f955f1e9d035ad6d63cd25bb309fec3ab5514929
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)"
>