Status
extends Component
in package
Table of Contents
- $class : string
- $icon : bool
- $label : string
- $size : string|null
- $status : string
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$class
public
string
$class
$icon
public
bool
$icon
$label
public
string
$label
$size
public
string|null
$size
= null
$status
public
string
$status
Methods
__construct()
Create a new component instance.
public
__construct(string $status[, bool $icon = true ][, string $class = 'is-info' ][, bool $label = false ][, string $size = null ]) : mixed
Parameters
- $status : string
- $icon : bool = true
- $class : string = 'is-info'
- $label : bool = false
- $size : string = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string