Documentation

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

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
Return values
View|string

Search results