Documentation

Button extends Component
in package

Table of Contents

$class  : string
$disabled  : bool
$icon  : string|null
$iconSize  : mixed
$size  : string
__construct()  : mixed
Create a new component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

$class

public string $class = 'is-link'

$disabled

public bool $disabled = false

$icon

public string|null $icon = null

$iconSize

public mixed $iconSize

$size

public string $size = 'normal'

Methods

__construct()

Create a new component instance.

public __construct([string $class = 'is-link' ][, string|null $icon = null ][, bool $disabled = false ][, string $size = 'normal' ]) : mixed
Parameters
$class : string = 'is-link'
$icon : string|null = null
$disabled : bool = false
$size : string = 'normal'
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|Closure|string
Return values
View|Closure|string

Search results