package tw
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Type-safe Tailwind CSS v4 in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
tw-1.2.0.tbz
sha256=c6f2f55bdbafd557e7716e4ab2daa012beb2ab2548090fae4a6e53c8016a3b10
sha512=13c066b3b233227d620a28abb724c8aea13c08f8f4b4657f7462d5806aa227568b921523e2675f3cd8ec8597fbe23a0f512e98f143adcf49b64a80ac95e6b740
doc/tw.html/Tw_html/At/index.html
Module Tw_html.AtSource
Functions for creating HTML attributes.
class' names is a class attribute. The names in names that are utilities join the element's ~tw ones, and the others are rendered as given and reported by unknown_classes.
Global attributes
spellcheck value sets the spellcheck attribute. Use "true" or "false".
Event attributes
Form attributes
Link attributes
Media attributes
Meta attributes
Style attribute
Time attributes
Image attributes
Additional attributes
if' cond at is at if cond is true, otherwise returns a void attribute.
to_pair at returns the attribute as a (name, value) pair.
of_pair (n,v) creates an attribute from a (name, value) pair.
Additional HTML5 attributes
hidden hides the element.
SVG Attributes
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page