Skip to main content

closeModal()

The closeModal() framework function is used to close an existing Modal widget that is currently open on the page.

Signature

closeModal(modalName: string): Promise

Parameters

modalName

A string which is the name of the modal widget to close.

Example:

{{ closeModal("Modal1") }}