package cascade
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
CSS generation and manipulation library for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cascade-1.2.0.tbz
sha256=3315f94068943b3655bf530c1d82b68655524ff3601efedfbaf0a7f886fbf5a1
sha512=0f187c8e17fcbddaa0ad2760930956451062e476b678e1e60daf6ad9e7414fad99a2d70534dfdf8bca0a1092e374d009051f06b0ce9da33f2742cdde0187e75c
doc/src/cascade.html/html_node.ml.html
Source file html_node.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17(* The tree {!Cascade.Resolve} walks: an {!Html} element, read through the parent and child links markup.ml left on it. *) type t = Html.element let equal = ( == ) let name (n : t) = Some n.Html.tag let id n = Html.attribute n "id" let classes = Html.classes let attribute = Html.attribute let parent (n : t) = n.Html.parent (* [children] is the element children the structural selectors count; text is reported apart because [:empty] counts that too, and a comment counts for neither. *) let children = Html.element_children let text_children = Html.text_children
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>