Features
extends Component
in package
Table of Contents
- $classes : string
- $icon : string|null
- $items : mixed
- $label : mixed
- $size : int
- $tagColor : string
- $tagIcon : string
- $tagSize : string
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$classes
public
string
$classes
$icon
public
string|null
$icon
= null
$items
public
mixed
$items
$label
public
mixed
$label
$size
public
int
$size
= 7
$tagColor
public
string
$tagColor
$tagIcon
public
string
$tagIcon
$tagSize
public
string
$tagSize
Methods
__construct()
Create a new component instance.
public
__construct([array<string|int, mixed>|Collection $items = null ][, string|bool $label = null ][, string $icon = null ][, string $classes = 'has-text-black' ][, string $tagColor = 'is-success' ][, string $tagIcon = 'fa-check' ][, string $tagSize = 'is-small' ]) : mixed
Parameters
- $items : array<string|int, mixed>|Collection = null
- $label : string|bool = null
- $icon : string = null
- $classes : string = 'has-text-black'
- $tagColor : string = 'is-success'
- $tagIcon : string = 'fa-check'
- $tagSize : string = 'is-small'
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string