Skip to content

Kirby 5.0.4

$filePreview->render()

Returns array with the Vue component name and props array

$filePreview->render(): array|null

Return types

arrayornull

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