trait CanBeHidden (View source)

Properties

protected bool|Closure $isHidden
protected bool|Closure $isVisible

Methods

hidden(bool|Closure $condition = true)

No description

hiddenOn(string|array $operations)

No description

whenTruthy(string|array $paths)

No description

whenFalsy(string|array $paths)

No description

visible(bool|Closure $condition = true)

No description

visibleOn(string|array $operations)

No description

bool
isHidden()

No description

bool
isVisible()

No description

Details

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenOn(string|array $operations)

No description

Parameters

string|array $operations

Return Value

CanBeHidden

CanBeHidden hiddenWhenAllChildComponentsHidden()

No description

Return Value

CanBeHidden

CanBeHidden whenTruthy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden whenFalsy(string|array $paths)

No description

Parameters

string|array $paths

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visibleOn(string|array $operations)

No description

Parameters

string|array $operations

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool