Documentation

TagDual extends Component
in package

Table of Contents

$color  : string
$key  : string
$margin  : bool
$size  : string
$value  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

$color

public string $color = 'info'

$size

public string $size = 'normal'

$value

public string|null $value = null

Methods

__construct()

Create a new component instance.

public __construct(string $key[, string|null $value = null ][, string $size = 'normal' ][, bool $margin = true ][, string $color = 'info' ]) : mixed
Parameters
$key : string
$value : string|null = null
$size : string = 'normal'
$margin : bool = true
$color : string = 'info'
Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results