ConfirmModal
Props
| Name | Description | Type | Default |
|---|---|---|---|
| title | Title of the modal. | string (optional) | 'Confirm' |
| contentClass | CSS class for the modal's content. | string (optional) | |
| okContent | Text content of the "OK" button. | string (optional) | |
| cancelContent | Text content of the "Cancel" button. | string (optional) | |
| showOk | Controls the visibility of the "OK" button. | boolean (optional) | true |
| showCancel | Controls the visibility of the "Cancel" button. | boolean (optional) | true |
| preventClose | Prevents the component from being closed. | boolean (optional) | false |
Events
| Event name | Properties | Description |
|---|---|---|
| ok | Emits an event 'ok' when the "OK" action is triggered. | |
| cancel | Emits an event 'cancel' when the "Cancel" action is triggered. |
Slots
| Name | Description | Bindings |
|---|---|---|
| default | Slot for content |