OptionalanimateControls whether to animate the opening of the dialog. Defaults is false.
OptionalcontextBinds the dialog to a context (e.g., a part or view). Defaults to the calling context.
The dialog is displayed only if the context is visible and closes when the context is disposed. The dialog is opened in the center of its context, if any, unless opened from the peripheral area.
Set to null to open the dialog outside a context.
OptionalcssSpecifies CSS class(es) to add to the dialog, e.g., to locate the dialog in tests.
OptionalmodalityControls which area of the application to block by the dialog. Defaults to context.
One of:
context: Blocks a specific part of the application, as specified in context, defaulting to the calling context.application: Blocks the workbench or browser viewport, based on global workbench settings.view: Deprecated. Same as context. Marked for removal.OptionalparamsPasses data to the dialog.
The dialog can declare mandatory and optional parameters. No additional parameters are allowed. Refer to the documentation of the capability for more information.
Controls the appearance and behavior of a dialog.