package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390
doc/virtual_dom/Virtual_dom/Vdom/Node/Element/index.html
Module Node.Element
The values associated with an Element and element like nodes. (that is in practice all nodes that aren't just text).
val tag : t -> Base.string
val attrs : t -> Virtual_dom__.Attr.t
val key : t -> Base.string Base.option
val with_key : t -> Base.string -> t
val add_class : t -> Base.string -> t
val add_classes : t -> Base.string Base.list -> t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>