Skip to content

<alta-unlock-tags> ​

What finishing a quest opens: skills, agents, automations, charts, quests.

All components

States ​

The closed list data-state takes on the element.

  • locked
  • partial
  • unlocked

Other attributes ​

On the element, or on a part (part: attribute). A list of values is closed.

AttributeOnValues
data-statetaglocked, unlocked
data-kindtagskill, agent, automation, chart, quest

Events ​

Dispatched on the element, bubbling. Listen with addEventListener.

  • alta-unlock-open

Parts ​

Every node you can style, as [data-part="…"].

label · list · tag · tag-text · tag-button · tag-mark · more

Style it ​

css
[data-aui="unlock-tags"][data-state="unlocked"] [data-part="label"] { /* … */ }

Words it reads ​

Keys of the string tables (override them on <alta-provider>).

unlock.

Files ​

packages/ui/src/elements/unlock-tags.ts · packages/ui/styles/components/chain.css

Alta OS is open source (MIT).