Skip to content

Kirby 6.0.0

new Dialog()

new Dialog() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

new Dialog(string $component = 'k-dialog', array|string|bool|null $cancelButton = null, string|null $class = null, string|null $size = null, string|null $style = null, array|string|bool|null $submitButton = null, mixed ...$attrs)

Parameters

Name Type Default
$component string 'k-dialog'
$cancelButton arrayorstringorboolornull null
$class stringornull null
$size stringornull null
$style stringornull null
$submitButton arrayorstringorboolornull null
...$attrs mixed no default value

Parent class

Kirby\Panel\Ui\Dialog