trait HasIcon (View source)

Properties

protected string|bool|Closure|null $icon
protected IconPosition|string|Closure|null $iconPosition

Methods

icon(string|bool|Closure|null $icon)

No description

icons(array|Closure $icons)

No description

iconPosition(IconPosition|string|Closure|null $iconPosition)

No description

string|null
getIcon(mixed $state)

No description

IconPosition|string
getIconPosition()

No description

Details

HasIcon icon(string|bool|Closure|null $icon)

No description

Parameters

string|bool|Closure|null $icon

Return Value

HasIcon

HasIcon icons(array|Closure $icons)

No description

Parameters

array|Closure $icons

Return Value

HasIcon

HasIcon iconPosition(IconPosition|string|Closure|null $iconPosition)

No description

Parameters

IconPosition|string|Closure|null $iconPosition

Return Value

HasIcon

string|null getIcon(mixed $state)

No description

Parameters

mixed $state

Return Value

string|null

IconPosition|string getIconPosition()

No description

Return Value

IconPosition|string