trait HasToggleColors (View source)

Properties

protected string $offColor
protected string $onColor

Methods

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

No description

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

No description

string|array|null
getOffColor()

No description

string|array|null
getOnColor()

No description

Details

HasToggleColors offColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasToggleColors

HasToggleColors onColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasToggleColors

string|array|null getOffColor()

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 getOnColor()

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