DialogApiDialog
Home > @backstage/frontend-plugin-api
> DialogApiDialog
A handle for an open dialog that can be used to interact with it.
Signature:
export interface DialogApiDialog<TResult = unknown>
Remarks
Dialogs can be opened using either DialogApi.show() or DialogApi.showModal().
Methods
Method |
Description |
---|---|
Closes the dialog with that provided result. | |
Wait until the dialog is closed and return the result. | |
Replaces the content of the dialog with the provided element or component, causing it to be rerenedered. |