API Referencegraphite
UIStyle
Collection of visual overrides for normal and interactive states.
Module: graphite
Collection of visual overrides for normal and interactive states.
Declaration
export class UIStyle { ... }Methods
normal
Normal.
normal(): UIStyleVariant;hovered
Hovered.
hovered(): UIStyleVariant;pressed
Pressed.
pressed(): UIStyleVariant;disabled
Disables d.
disabled(): UIStyleVariant;focused
Focused.
focused(): UIStyleVariant;checked
Checked.
checked(): UIStyleVariant;variant
Returns the style variant associated with the selected interaction state.
variant(state: UIStyleState): UIStyleVariant;