package b0
Software construction care
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.0.tbz
sha256=dadde8cfa62be9dabd805fc190b415427b4699ffe3458c153e2f3f9cc5c9b9b4
md5=f96ac96fb0182f2b97dbe9ded452544b
doc/b0.care/B0_web/Htmlg/Att/index.html
Module Htmlg.Att
Attributes.
Attributes
add_if c att atts
is att :: atts
if c
is true
and atts
otherwise.
add_some n o atts
is (v n value) :: atts
if o
is Some value
and atts
otherwise.
Predefined attribute constructors
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 autofocus : t
val charset : string cons
val checked : t
val class' : string cons
val content : string cons
val disabled : t
val for' : string cons
val height : int cons
val href : string cons
val id : string cons
val media : string cons
val name : string cons
val placeholder : string cons
val rel : string cons
val src : string cons
val tabindex : int cons
val title : string cons
val type' : string cons
val value : string cons
val width : int cons
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page