ConfirmationModal.addButton method
ConfirmationModal › addButton
Official
Add a button to the modal's button row.Signature:
addButton(cb: (btn: ConfirmationButton) => unknown): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (btn: ConfirmationButton) => unknown | The callback that configures the button. |
Returns: this — The confirmation modal.
Since: 1.13.0