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
| Name | Type |
|---|---|
dialogConfig | SDKBasicDialogConfiguration |
Returns
any
showDialog
Static showDialog(dialogConfig): any
Display a generic dialog
Parameters
| Name | Type |
|---|---|
dialogConfig | SDKBasicDialogConfiguration |
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
| Name | Type | Default value | Description |
|---|---|---|---|
title | string | undefined | Dialog title shown on top |
message | string | undefined | Content of the dialog |
width | number | 350 | - |
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
| Name | Type | Description |
|---|---|---|
title | string | Dialog title shown on top |
message | string | Content of the dialog |
Returns
any
triggerOk
Static triggerOk(): void
Trigger onOk function and close dialog.
Returns
void
© 2023 eLabNext
Updated about 2 months ago