package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module B00_htmlg.AtSource
Element attributes.
Attributes
The type for attribute names.
The type for attributes.
true' n is v n "". This sets the boolean attribute n to true. The attribute must be omitted to be false.
add_if c att atts is att :: atts if c is true and atts otherwise.
add_if_some n o atts is (v n value) :: atts if o is Some value and atts otherwise.
Attribute names and constructors
See the MDN HTML attribute reference.
Convention. Whenever an attribute name conflicts with an OCaml keyword we prime it, see for example class'.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page