Skip to content

Kirby 5.1.3

$fileItem->key()

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

$fileItem->key(): string

Return type

string

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

Parent class

Kirby\Panel\Ui\Item\FileItem inherited from Kirby\Panel\Ui\Component