Skip to content

Kirby 6.0.0

$drawer->key()

Returns a (unique) key that can be used for Vue's :key attribute

$drawer->key() 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.

$drawer->key(): string

Return type

string

Parent class

Kirby\Panel\Ui\Drawer inherited from Kirby\Panel\Ui\Component