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