trait CanBeDisabled (View source)

Properties

protected bool|Closure $isDisabled
protected bool|Closure $isClickDisabled

Methods

disabled(bool|Closure $condition = true)

No description

disableClick(bool|Closure $condition = true)

No description

bool
isDisabled()

No description

bool
isEnabled()

No description

bool
isClickDisabled()

No description

Details

CanBeDisabled disabled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

CanBeDisabled disableClick(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

bool isDisabled()

No description

Return Value

bool

bool isEnabled()

No description

Return Value

bool

bool isClickDisabled()

No description

Return Value

bool