Skip to content

Kirby 6.0.0

$view->key()

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

$view->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.

$view->key(): string

Return type

string

Parent class

Kirby\Panel\Ui\View inherited from Kirby\Panel\Ui\Component