trait CanBeHidden (View source)

Properties

protected string|Closure|null $hiddenFrom
protected bool|Closure $isHidden
protected string|Closure|null $visibleFrom
protected bool|Closure $isVisible

Methods

hidden(bool|Closure $condition = true)

No description

visible(bool|Closure $condition = true)

No description

hiddenFrom(string|Closure|null $breakpoint)

No description

visibleFrom(string|Closure|null $breakpoint)

No description

string|null
getHiddenFrom()

No description

string|null
getVisibleFrom()

No description

bool
isHidden()

No description

Details

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHidden

CanBeHidden visibleFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHidden

string|null getHiddenFrom()

No description

Return Value

string|null

string|null getVisibleFrom()

No description

Return Value

string|null

bool isHidden()

No description

Return Value

bool