Skip to main content

Function: confirmDialog()

confirmDialog(comp, options, ignoreReject): ConfirmDialogResult

Defined in: src/common/web/ui/dialogs/ConfirmDialog.ts:17

Shows a confirmation (popup) dialog.

Parameters

comp

WebComponent

The global component.

options

ConfirmationOptions

Confirmation dialog options; note that the accept and reject callbacks are handled through the returned Promise.

ignoreReject

boolean = true

If true, nothing will happen if the user rejects the dialog.

Returns

ConfirmDialogResult