@jsvision/ui / ViewState
Interface: ViewState
Defined in: ui/src/view/types.ts:20
A view's state flags. focused/disabled are driven by the event loop; a widget's draw() reads them to pick the right theme role (e.g. buttonFocused). visible: false means the view is skipped when drawing and omitted from layout entirely (like CSS display: none).
Properties
disabled
disabled:
boolean
Defined in: ui/src/view/types.ts:22
focused
focused:
boolean
Defined in: ui/src/view/types.ts:23
visible
visible:
boolean
Defined in: ui/src/view/types.ts:21