Last date modified: 2025-Apr-29
Interface: ModalApi
ModalApi.ModalApi
Description
Contains APIs to allow the opening of a modal for the current list
Properties
Properties
confirm
- confirm: (
model:ConfirmModalModel,openModalHandler?:OpenModalHandler) =>Promise<DialogCloseResult>
Type declaration
- (
model,openModalHandler?):Promise<DialogCloseResult>
Parameters
| Name | Type | Description |
|---|---|---|
model
|
ConfirmModalModel
|
Confirmation modal to open |
openModalHandler?
|
OpenModalHandler
|
Optional callback function executed immediately after the modal opens |
Returns
Promise<DialogCloseResult>
Promise resolution once the modal is closed
Description
Allows the developer to show a confirmation modal
openCustomModal
- openCustomModal: (
model:CustomModalModel,openModalHandler?:OpenModalHandler) =>Promise<DialogCloseResult>
Type declaration
- (
model,openModalHandler?):Promise<DialogCloseResult>
Parameters
| Name | Type | Description |
|---|---|---|
model
|
CustomModalModel
|
Custom modal to open |
openModalHandler?
|
OpenModalHandler
|
Optional callback function executed immediately after the modal opens |
Returns
Promise<DialogCloseResult>
Promise resolution once the modal is closed
Description
Allows the developer to show a modal with custom content based on the model received
openExternalModal
- openExternalModal: (
model:ExternalModalModel,openModalHandler?:OpenModalHandler) =>Promise<DialogCloseResult>
Type declaration
- (
model,openModalHandler?):Promise<DialogCloseResult>
Parameters
| Name | Type | Description |
|---|---|---|
model
|
ExternalModalModel
|
External modal to open |
openModalHandler?
|
OpenModalHandler
|
Optional callback function executed immediately after the modal opens |
Returns
Promise<DialogCloseResult>
Promise resolution once the modal is closed
Description
Allows the developer to show a modal which opens an iframe to a provided url