Skip to content

ConfirmationModal.addCancelButton method

ConfirmationModal › addCancelButton

Official

Add a cancel button to the modal's button row.

Signature:

addCancelButton(text?: string | undefined): this

Parameters:

Parameter Type Description
text? string | undefined *(Optional)*

Returns: this

Since: 1.13.0