ConfirmationButton.setForm method
ConfirmationButton › setForm
Unofficial
Makes the button submit the given form and prevents its click from closing the modal.Signature:
setForm(formEl: HTMLFormElement): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| formEl | HTMLFormElement | The form to submit, identified by its id. |
Returns: this — The confirmation button.