Overlay
DynamicDialog
A dialog opened from code with a component as its content, which receives data and closes with a result.
WAI-ARIA tested
Import
main.ts
import { DynamicDialog } from '@vitral/vue';Basic
Picked: —
API
Read from packages/vue/src/components/DynamicDialog/types.ts, so it says what the component actually accepts.
Props
| Name | Type | Description |
|---|---|---|
| defaults | Record<string, unknown> | Default props for every dialog it shows; each `open()` call's `props` override them. |
Plus pt, dt and unstyled from BaseProps, see pass-through and unstyled mode.