Documentation

Icon extends Component
in package

Table of Contents

$color  : string|null
$containerSize  : string|null
$size  : int
$title  : string|null
__construct()  : void
Create a new Icon component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

$color

public string|null $color = null

$containerSize

public string|null $containerSize = null

$size

public int $size = 6

$title

public string|null $title = null

Methods

__construct()

Create a new Icon component instance.

public __construct([int $size = 6 ][, string|null $title = null ][, string|null $color = null ][, string|null $containerSize = null ]) : void
Parameters
$size : int = 6

Size of the icon (4=large, 5=medium, 6=default, 7=small) (default: 6)

$title : string|null = null

Optional title/tooltip for the icon

$color : string|null = null

Optional color class for the icon

$containerSize : string|null = null
Return values
void

render()

Get the view / contents that represent the component.

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

Search results