Aria
object Aria
Predefined constants for all ARIA attributes
Use them for definition of an ARIA attribute within a Tag:
input {
attr(Aria.invalid, "true".whenever(someBooleanFlow)) // should only appear on `true`
attr(Aria.labelledby, "id-of-some-label")
attr(Aria.checked, someBooleanFlow.asString()) // should hold String values "true" or "false"
}
Content copied to clipboard