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