package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.5.tbz
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e
doc/b0_b00_kit/B00_htmlg/At/index.html
Module B00_htmlg.At
Element attributes.
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.
val to_pair : t -> string * stringto_pair at is (n,v) the name and value of the attribute.
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'.
module Name : sig ... endAttribute names.
type 'a cons = 'a -> tThe type for attribute constructors with value of type 'a.
val contenteditable : bool consval placeholder : string consval spellcheck : string cons sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page