Skip to content

Kirby 3.9.8

Remove dialog

<k-remove-dialog>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

Props

Prop Type Default Description
autofocus
boolean
true
cancelButton
string|boolean
true
icon
string
"trash"
size
string
Supported values:
small, default, medium, large
submitButton
string|boolean
function() { return window.panel.$t("delete"); }
text
string
theme
string
Supported values:
success, error
"negative"
visible
boolean

Events

Event Description Passes
close
open
success

Slots

Slot Description
default

CSS classes

.k-remove-dialog