eLabSDK2.UI.Dialog

Hierarchy

  • default

    Dialog

Methods

showConfirmDialog

Static showConfirmDialog(dialogConfig): any

Display a Confirm type modal dialog to get a extra consent by the user.

Parameters

NameType
dialogConfigSDKBasicDialogConfiguration

Returns

any


showDialog

Static showDialog(dialogConfig): any

Display a generic dialog

Parameters

NameType
dialogConfigSDKBasicDialogConfiguration

Returns

any

A promise when resolved contains the dialog result.


showErrorDialog

Static showErrorDialog(title, message, width?): any

Display a Error type modal dialog to inform the user of an error.
This modal closes on ok without any logic.

Parameters

NameTypeDefault valueDescription
titlestringundefinedDialog title shown on top
messagestringundefinedContent of the dialog
widthnumber350-

Returns

any


showInfoDialog

Static showInfoDialog(title, message): any

Display a Info type modal dialog to inform the user.
This modal closes on ok without any logic.

Parameters

NameTypeDescription
titlestringDialog title shown on top
messagestringContent of the dialog

Returns

any


triggerOk

Static triggerOk(): void

Trigger onOk function and close dialog.

Returns

void


© 2023 eLabNext