API Referencegraphite
UIStyleStateSnapshot
Current interaction flags used when resolving a UI style.
Module: graphite
Current interaction flags used when resolving a UI style.
Declaration
export type UIStyleStateSnapshot = {
hovered: boolean;
pressed: boolean;
disabled: boolean;
focused: boolean;
checked: boolean;
};Properties
hovered
hovered: boolean;pressed
pressed: boolean;disabled
disabled: boolean;focused
focused: boolean;checked
checked: boolean;