$viewButton->key()
Returns a (unique) key that can be used for Vue's :key
attribute
$viewButton->key(): string
Return type
string
This method modifies the existing $viewbutton
object it is applied to and returns it again.
Parent class
Kirby\Panel\Ui\Buttons\ViewButton
inherited from Kirby\Panel\Ui\Component