trait HasAffixes (View source)

Properties

protected Action[] $cachedSuffixActions
protected array $suffixActions
protected Htmlable|Closure|null $suffixLabel
protected Action[] $cachedPrefixActions
protected array $prefixActions
protected Htmlable|Closure|null $prefixLabel
protected string|Closure|null $prefixIcon
protected string $prefixIconColor
protected string|Closure|null $suffixIcon
protected string $suffixIconColor
protected bool|Closure $isPrefixInline
protected bool|Closure $isSuffixInline

Methods

prefix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

postfix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

prefixAction(Action|Closure $action, bool|Closure $isInline = false)

No description

prefixActions(array $actions, bool|Closure $isInline = false)

No description

suffixAction(Action|Closure $action, bool|Closure $isInline = false)

No description

suffixActions(array $actions, bool|Closure $isInline = false)

No description

suffix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

inlinePrefix(bool|Closure $isInline = true)

No description

inlineSuffix(bool|Closure $isInline = true)

No description

prefixIcon(string|Closure|null $icon, bool|Closure $isInline = false)

No description

prefixIconColor(string|array|Closure|null $color = null)

No description

suffixIcon(string|Closure|null $icon, bool|Closure $isInline = false)

No description

suffixIconColor(string|array|Closure|null $color = null)

No description

array
getPrefixActions()

No description

array
cachePrefixActions()

No description

array
getSuffixActions()

No description

array
cacheSuffixActions()

No description

Htmlable|null
getPrefixLabel()

No description

Htmlable|null
getSuffixLabel()

No description

string|null
getPrefixIcon()

No description

string|null
getSuffixIcon()

No description

string|array|null
getPrefixIconColor()

No description

string|array|null
getSuffixIconColor()

No description

bool
isPrefixInline()

No description

bool
isSuffixInline()

No description

Details

HasAffixes prefix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

Parameters

Htmlable|Closure|null $label
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes postfix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

Parameters

Htmlable|Closure|null $label
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes prefixAction(Action|Closure $action, bool|Closure $isInline = false)

No description

Parameters

Action|Closure $action
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes prefixActions(array $actions, bool|Closure $isInline = false)

No description

Parameters

array $actions
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes suffixAction(Action|Closure $action, bool|Closure $isInline = false)

No description

Parameters

Action|Closure $action
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes suffixActions(array $actions, bool|Closure $isInline = false)

No description

Parameters

array $actions
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes suffix(Htmlable|Closure|null $label, bool|Closure $isInline = false)

No description

Parameters

Htmlable|Closure|null $label
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes inlinePrefix(bool|Closure $isInline = true)

No description

Parameters

bool|Closure $isInline

Return Value

HasAffixes

HasAffixes inlineSuffix(bool|Closure $isInline = true)

No description

Parameters

bool|Closure $isInline

Return Value

HasAffixes

HasAffixes prefixIcon(string|Closure|null $icon, bool|Closure $isInline = false)

No description

Parameters

string|Closure|null $icon
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes prefixIconColor(string|array|Closure|null $color = null)

No description

Parameters

string|array|Closure|null $color

Return Value

HasAffixes

HasAffixes suffixIcon(string|Closure|null $icon, bool|Closure $isInline = false)

No description

Parameters

string|Closure|null $icon
bool|Closure $isInline

Return Value

HasAffixes

HasAffixes suffixIconColor(string|array|Closure|null $color = null)

No description

Parameters

string|array|Closure|null $color

Return Value

HasAffixes

array getPrefixActions()

No description

Return Value

array

array cachePrefixActions()

No description

Return Value

array

array getSuffixActions()

No description

Return Value

array

array cacheSuffixActions()

No description

Return Value

array

Htmlable|null getPrefixLabel()

No description

Return Value

Htmlable|null

Htmlable|null getSuffixLabel()

No description

Return Value

Htmlable|null

string|null getPrefixIcon()

No description

Return Value

string|null

string|null getSuffixIcon()

No description

Return Value

string|null

string|array|null getPrefixIconColor()

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|array|null getSuffixIconColor()

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

bool isPrefixInline()

No description

Return Value

bool

bool isSuffixInline()

No description

Return Value

bool