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:

ParameterTypeDescription
text?string | undefined*(Optional)*

Returns: this

Since: 1.13.0