Backstage
    Preparing search index...

    Interface DialogApiDialog<TResult>

    A handle for an open dialog that can be used to interact with it.

    Dialogs can be opened using either DialogApi.show or DialogApi.showModal.

    interface DialogApiDialog<TResult = void> {
        close(
            ...args: undefined extends TResult
                ? [result?: TResult]
                : [result: TResult],
        ): void;
        result(): Promise<TResult>;
        update(
            elementOrComponent:
                | Element
                | ((props: { dialog: DialogApiDialog<TResult> }) => Element),
        ): void;
    }

    Type Parameters

    • TResult = void
    Index

    Methods