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.
Closes the dialog with that provided result.
If the dialog is a modal dialog a result must always be provided. If it's a regular dialog then passing a result is optional.
Wait until the dialog is closed and return the result.
If the dialog is a modal dialog a result will always be returned. If it's a regular dialog then the result may be undefined.
undefined
Replaces the content of the dialog with the provided element or component, causing it to be rerenedered.
A handle for an open dialog that can be used to interact with it.
Remarks
Dialogs can be opened using either DialogApi.show or DialogApi.showModal.