Skip to content

Kirby 6.0.0

new Drawer()

new Drawer() 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 Drawer(string $component = 'k-drawer', string|null $class = null, string|null $icon = null, array|null $options = null, string|null $style = null, string|null $title = null, mixed ...$attrs)

Parameters

Name Type Default
$component string 'k-drawer'
$class stringornull null
$icon stringornull null
$options arrayornull null
$style stringornull null
$title stringornull null
...$attrs mixed no default value

Parent class

Kirby\Panel\Ui\Drawer