Documentation

ContainerLabel extends Component
in package

Table of Contents

$color  : string
$height  : int|null
$icon  : string|null
$label  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new component instance.

public __construct([string|null $label = null ][, string|null $icon = null ][, string $color = 'light' ][, int|null $height = null ]) : mixed
Parameters
$label : string|null = null

Label for the container

$icon : string|null = null

Icon for the container

$color : string = 'light'

Background color of the label

$height : int|null = null

Height of the container, in case of fixed height

Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results