Getx
extends Component
in package
Table of Contents
- $color : string
- $icon : string
- $route : string
- $target : string
- $title : string|null
- $tooltip : string|null
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$color
public
string
$color
$icon
public
string
$icon
$route
public
string
$route
$target
public
string
$target
$title
public
string|null
$title
= null
$tooltip
public
string|null
$tooltip
= null
Methods
__construct()
Create a new component instance.
public
__construct(string $route[, string $icon = 'fa-check' ][, string $color = 'is-primary' ][, string $title = null ][, string $tooltip = null ][, string $target = '_self' ]) : mixed
Parameters
- $route : string
- $icon : string = 'fa-check'
- $color : string = 'is-primary'
- $title : string = null
- $tooltip : string = null
- $target : string = '_self'
-
- _blank, _self, _top, _parent
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string