Skip to main content

Function: extendedDialog()

extendedDialog<UserDataType>(comp, dialogComponent, dialogProps, data, options, processDataCallback, ignoreReject): ExtendedDialogResult<UserDataType>

Defined in: src/common/web/ui/dialogs/ExtendedDialog.ts:76

Shows a (popup) dialog with extended functionality.

Type Parameters​

UserDataType​

UserDataType

Parameters​

comp​

WebComponent

The global component.

dialogComponent​

VueComponent

The main dialog component to load.

dialogProps​

DialogProps

Vue dialog properties.

data​

UserDataType

Optional user data to pass to the dialog.

options​

Extended dialog options.

undefined | ExtendedDialogOptions

processDataCallback​

A callback that is called before the dialog is being accepted to pre-process the dialog data.

undefined | (data) => void

ignoreReject​

boolean = true

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

Returns​

ExtendedDialogResult<UserDataType>