Go to page content

dialog_close

Close the currently open dialog.

Closes the currently open dialog. When there is no dialog open then nothing happens.

Example:

{% button text="cancel" action={dialog_close} %}

This button closes any open dialog when clicked.

See also dialog_open and dialog.

This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.