package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.2.tbz
sha512=78fd9e53b84cf5d6bf497adaf4b6d7d974134044318639cdfe5e01c7faaa8d987d04769abe3b3b1cbdb937132e21d8723dc185cd3c68433a793278907a8e757e
doc/b0_b00_kit/B00_htmlg/At/index.html
Module B00_htmlg.At
Attributes.
Attributes
true' n
is v n ""
, the boolean attribute n
set 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.
Predefined attribute constructors
See the MDN HTML attribute reference.
Convention. Whenever an attribute name conflicts with an OCaml keyword we prime it, see for example class'
.
type 'a cons = 'a -> t
The type for attribute constructors with value of type 'a
.
val placeholder : string cons
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page