- spawnDialog(dialog, props, onClose?): Vue<Record<string, any>, Record<string, any>, never, never, ((event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, ...>>)>
Parameters
- dialog: Component | AsyncComponent
- props: any
Optional
onClose: ((...rest: unknown[]) => void)- (...rest): void
Returns void
Returns Vue<Record<string, any>, Record<string, any>, never, never, ((event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, ...>>)>
Helper to spawn a Vue dialog without having to mount it from a component