package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
10.3.0.tar.gz
md5=36c211d19776e6362feb57a4913efc11
sha512=9d8d3aadbd2174fe4edeba9e535cfa8ed974db5e406f0a6e2669a71e208f459da7ca8060628f3f19957b7b1911083a373653abf7e5385bb16d2ccee4ba49e80a
doc/eliom.server/Eliom_content/Svg/C/index.html
Module Svg.C
Source
Creation of content from client-side values. This makes possible to insert in server side generated pages some nodes that will be computed on client side (for example reactive nodes).
node e
is a server-side node corresponding to the client-side node e
. node e
can be used like any other server-side node.
The implementation uses an initial placeholder node that is later replaced by the client node. By default, the placeholder node is span
. The ~init
argument can be used to provide a custom placeholder node (e.g., one with the same tag as the client node). This can be useful in contexts where span
is not allowed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>