Skip to content

Kirby 5.0.4

$filePreview->key()

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

$filePreview->key(): string

Return type

string

This method modifies the existing $filepreview object it is applied to and returns it again.

Parent class

Kirby\Panel\Ui\FilePreview inherited from Kirby\Panel\Ui\Component