package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai.vdom_node_with_map_children/Vdom_node_with_map_children/index.html
Module Vdom_node_with_map_childrenSource
Source
val make :
tag:string ->
?attr:Bonsai_web.Vdom.Attr.t ->
(_, Bonsai_web.Vdom.Node.t, _) Core.Map.t ->
Bonsai_web.Vdom.Node.tWhen given a map of vdom nodes, this function will wrap them in an element whose tag is determined by the first argument, and efficiently diff them against new nodes in the future that were created by this function.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>