trait HasHint (View source)

Properties

protected Htmlable|Closure|null $hint
protected Action[] $cachedHintActions
protected array $hintActions
protected string $hintColor
protected string|Closure|null $hintIcon
protected string|Closure|null $hintIconTooltip

Methods

hint(Htmlable|Closure|null $hint)

No description

hintColor(string|array|Closure|null $color)

No description

hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)

No description

hintIconTooltip(string|Closure|null $tooltip)

No description

hintAction(Action|Closure $action)

No description

hintActions(array $actions)

No description

Htmlable|null
getHint()

No description

string|array|null
getHintColor()

No description

string|null
getHintIcon()

No description

string|null
getHintIconTooltip()

No description

array
getHintActions()

No description

array
cacheHintActions()

No description

Details

HasHint hint(Htmlable|Closure|null $hint)

No description

Parameters

Htmlable|Closure|null $hint

Return Value

HasHint

HasHint hintColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasHint

HasHint hintIcon(string|Closure|null $icon, string|Closure|null $tooltip = null)

No description

Parameters

string|Closure|null $icon
string|Closure|null $tooltip

Return Value

HasHint

HasHint hintIconTooltip(string|Closure|null $tooltip)

No description

Parameters

string|Closure|null $tooltip

Return Value

HasHint

HasHint hintAction(Action|Closure $action)

No description

Parameters

Action|Closure $action

Return Value

HasHint

HasHint hintActions(array $actions)

No description

Parameters

array $actions

Return Value

HasHint

Htmlable|null getHint()

No description

Return Value

Htmlable|null

string|array|null getHintColor()

No description

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null

string|null getHintIcon()

No description

Return Value

string|null

string|null getHintIconTooltip()

No description

Return Value

string|null

array getHintActions()

No description

Return Value

array

array cacheHintActions()

No description

Return Value

array