new ViewButton(string $component = 'k-view-button', ModelWithContent|Language|null $model = null, array|string|null $options = null, string|bool $responsive = true, string|null $size = 'sm', string|null $variant = 'filled', mixed ...$attrs)
| Name |
Type |
Default |
|
$component |
string |
'k-view-button'
|
|
$model |
Kirby\Cms\ModelWithContent|orKirby\Cms\Language|ornull |
null
|
|
$options |
array|orstring|ornull |
null
|
|
$responsive |
string|orbool |
true
|
|
$size |
string|ornull |
'sm'
|
|
$variant |
string|ornull |
'filled'
|
|
...$attrs |
mixed |
–
no default value
|
Kirby\Panel\Ui\Button\ViewButton