trait CanBeToggled (View source)

Properties

protected bool|Closure $isToggleable
protected bool|Closure $isToggledHiddenByDefault

Methods

toggleable(bool|Closure $condition = true, bool|Closure $isToggledHiddenByDefault = false)

No description

toggledHiddenByDefault(bool|Closure $condition = true)

No description

bool
isToggledHiddenByDefault()

No description

bool
isToggleable()

No description

bool
isToggledHidden()

No description

Details

CanBeToggled toggleable(bool|Closure $condition = true, bool|Closure $isToggledHiddenByDefault = false)

No description

Parameters

bool|Closure $condition
bool|Closure $isToggledHiddenByDefault

Return Value

CanBeToggled

CanBeToggled toggledHiddenByDefault(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeToggled

bool isToggledHiddenByDefault()

No description

Return Value

bool

bool isToggleable()

No description

Return Value

bool

bool isToggledHidden()

No description

Return Value

bool