trait CanBeHidden (View source)

Properties

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

Methods

hidden(bool|Closure $condition = true)

No description

visible(bool|Closure $condition = true)

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

No description

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool