trait CanBeCollapsed (View source)

Properties

protected bool|Closure $isCollapsed
protected bool|Closure|null $isCollapsible

Methods

collapsed(bool|Closure $condition = true, bool $shouldMakeComponentCollapsible = true)

No description

bool
isCollapsed(ComponentContainer|null $item = null)

No description

collapsible(bool|Closure|null $condition = true)

No description

bool
isCollapsible()

No description

Details

CanBeCollapsed collapsed(bool|Closure $condition = true, bool $shouldMakeComponentCollapsible = true)

No description

Parameters

bool|Closure $condition
bool $shouldMakeComponentCollapsible

Return Value

CanBeCollapsed

bool isCollapsed(ComponentContainer|null $item = null)

No description

Parameters

ComponentContainer|null $item

Return Value

bool

CanBeCollapsed collapsible(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeCollapsed

bool isCollapsible()

No description

Return Value

bool