Skip to content

ConfirmModal

Props

NameDescriptionTypeDefault
titleTitle of the modal.string (optional)'Confirm'
contentClassCSS class for the modal's content.string (optional)
okContentText content of the "OK" button.string (optional)
cancelContentText content of the "Cancel" button.string (optional)
showOkControls the visibility of the "OK" button.boolean (optional)true
showCancelControls the visibility of the "Cancel" button.boolean (optional)true
preventClosePrevents the component from being closed.boolean (optional)false

Events

Event namePropertiesDescription
okEmits an event 'ok' when the "OK" action is triggered.
cancelEmits an event 'cancel' when the "Cancel" action is triggered.

Slots

NameDescriptionBindings
defaultSlot for content

Released under the GNU GPLv3 License.