Interface: CssState
Defined in: packages/core/src/model.ts:102
A component state — from :state(), a native pseudo-class, a state class, or an attribute (@cssstate).
Properties
description?
ts
optional description?: string;Defined in: packages/core/src/model.ts:111
Prose from a @cssstate doc tag, when authored.
kind
ts
kind: CssStateKind;Defined in: packages/core/src/model.ts:109
How the state is expressed in CSS.
name
ts
name: string;Defined in: packages/core/src/model.ts:107
The state's derived name without its punctuation, e.g. open, selected, disabled, or aria-sort="ascending" for an attribute state.
selector?
ts
optional selector?: string;Defined in: packages/core/src/model.ts:113
The full bracketed selector for an attribute state, e.g. [aria-sort="ascending"].