Atlas Engine
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(): UIStyleVariant;

hovered

hovered(): UIStyleVariant;

pressed

pressed(): UIStyleVariant;

disabled

disabled(): UIStyleVariant;

focused

focused(): UIStyleVariant;

checked

checked(): UIStyleVariant;

variant

Returns the style variant associated with the selected interaction state.

variant(state: UIStyleState): UIStyleVariant;

On this page