English
<alta-condition>
The state of an installed chart (ready, drifted, repairing, failed…), as a dot, a tag or a line.
States
The closed list data-state takes on the element.
unknownunsupportedblockedneeds-inputplannedrunningreadydriftedrepairingfailed
Other attributes
On the element, or on a part (part: attribute). A list of values is closed.
| Attribute | On | Values |
|---|---|---|
data-size | the element | dot, tag, line |
data-reason | the element | any |
Events
Dispatched on the element, bubbling. Listen with addEventListener.
alta-condition-action
Parts
Every node you can style, as [data-part="…"].
mark · word · reason · since · action
Style it
css
[data-aui="condition"][data-state="failed"] [data-part="mark"] { /* … */ }Words it reads
Keys of the string tables (override them on <alta-provider>).
condition. · reason.
Files
packages/ui/src/elements/condition.ts · packages/ui/styles/components/step.css