API: Primitives
DialogState
Lifecycle of a dialog panel, mirrored on the panel as data-state for consumer CSS: opening (mounted, enter styles) → open → closing (exit transition running, o…
Overview
Lifecycle of a dialog panel, mirrored on the panel as data-state for consumer CSS:
opening (mounted, enter styles) → open → closing (exit transition running, only with
presence) → closed (removed).
- Kind: Type alias
- Source: packages/primitives/src/dialog/dialog-ref.ts:9
Definition
type DialogState = 'opening' | 'open' | 'closing' | 'closed';