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

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

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

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

Return to top of the page
Feedback