Skip to content

Kirby 6.0.0

$previewButton->render()

Returns array with the Vue component name and props array

$previewButton->render() 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.

$previewButton->render(): array|null

Return types

arrayornull

Parent class

Kirby\Panel\Ui\Button\PreviewButton inherited from Kirby\Panel\Ui\Component