English
<alta-resource-gate>
What a step needs of the machine (memory, disk, chip), as a sentence or chips.
States
The closed list data-state takes on the element.
okshortunmeasured
Other attributes
On the element, or on a part (part: attribute). A list of values is closed.
| Attribute | On | Values |
|---|---|---|
data-as | the element | sentence, chips |
data-key | chip | cpu, memory, disk, gpu, arch |
data-short | chip | present or absent |
Events
No event.
Parts
Every node you can style, as [data-part="…"].
sentence · chip
Style it
css
[data-aui="resource-gate"][data-state="unmeasured"] [data-part="sentence"] { /* … */ }Words it reads
Keys of the string tables (override them on <alta-provider>).
gate.
Files
packages/ui/src/elements/resource-gate.ts · packages/ui/styles/components/forms.css