package eliom
Advanced Client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
10.2.0.tar.gz
md5=089b68d5bac8dfae1116923f6d95b39c
sha512=b4828b57d963d217ca0efd871b1c0b3f8816c7971825eb49d0dc06dbd91004fc659f83f9121d849ab8de47560941d07b2b9c1838b3387e7c1a4d3d6b9058936b
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)"
>