trait HasStateBindingModifiers (View source)

Properties

protected string[] $stateBindingModifiers
protected int|string|null $liveDebounce
protected bool|Closure|null $isLive
protected bool $isLiveOnBlur

Methods

live(bool $onBlur = false, int|string|null $debounce = null, bool|Closure|null $condition = true)

No description

lazy()

No description

debounce(int|string|null $delay = 500)

No description

stateBindingModifiers(array|null $modifiers)

No description

string
applyStateBindingModifiers(string $expression, bool $isOptimisticallyLive = true)

No description

array
getStateBindingModifiers(bool $withBlur = true, bool $withDebounce = true, bool $isOptimisticallyLive = true)

No description

bool
isLive()

No description

bool
isLiveOnBlur()

No description

bool
isLazy()

No description

bool
isLiveDebounced()

No description

int|string|null
getLiveDebounce()

No description

int|null
getNormalizedLiveDebounce()

No description

Details

HasStateBindingModifiers live(bool $onBlur = false, int|string|null $debounce = null, bool|Closure|null $condition = true)

No description

Parameters

bool $onBlur
int|string|null $debounce
bool|Closure|null $condition

Return Value

HasStateBindingModifiers

HasStateBindingModifiers reactive()

No description

HasStateBindingModifiers lazy()

No description

HasStateBindingModifiers debounce(int|string|null $delay = 500)

No description

Parameters

int|string|null $delay

Return Value

HasStateBindingModifiers

HasStateBindingModifiers stateBindingModifiers(array|null $modifiers)

No description

Parameters

array|null $modifiers

Return Value

HasStateBindingModifiers

string applyStateBindingModifiers(string $expression, bool $isOptimisticallyLive = true)

No description

Parameters

string $expression
bool $isOptimisticallyLive

Return Value

string

array getStateBindingModifiers(bool $withBlur = true, bool $withDebounce = true, bool $isOptimisticallyLive = true)

No description

Parameters

bool $withBlur
bool $withDebounce
bool $isOptimisticallyLive

Return Value

array

bool isLive()

No description

Return Value

bool

bool isLiveOnBlur()

No description

Return Value

bool

bool isLazy()

No description

Return Value

bool

bool isLiveDebounced()

No description

Return Value

bool

int|string|null getLiveDebounce()

No description

Return Value

int|string|null

int|null getNormalizedLiveDebounce()

No description

Return Value

int|null