Helper to spawn a Vue dialog without having to mount it from a component

  • Parameters

    • dialog: Component | AsyncComponent

      The dialog component to spawn

    • props: any

      Properties to pass to the dialog

    • OptionalonClose: ((...rest: unknown[]) => void)

      Callback when the dialog is closed

        • (...rest): void
        • Parameters

          • Rest...rest: unknown[]

          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, ...>>)>