trait CanReorderRecords (View source)

Traits

Properties

protected int|Closure $reorderAnimationDuration from  HasReorderAnimationDuration
protected bool|Closure $isReorderable
protected bool|Closure $isReorderAuthorized
protected string|Closure|null $reorderColumn
protected Closure|null $modifyReorderRecordsTriggerActionUsing

Methods

reorderRecordsTriggerAction(Closure|null $callback)

No description

reorderable(string|Closure|null $column = null, bool|Closure|null $condition = null)

No description

authorizeReorder(bool|Closure $condition = true)

No description

getReorderRecordsTriggerAction(bool $isReordering)

No description

string|null
getReorderColumn()

No description

bool
isReorderable()

No description

bool
isReordering()

No description

bool
isReorderAuthorized()

No description

Details

HasReorderAnimationDuration reorderAnimationDuration(int|Closure $animation)

No description

Parameters

int|Closure $animation

Return Value

HasReorderAnimationDuration

int getReorderAnimationDuration()

No description

Return Value

int

CanReorderRecords reorderRecordsTriggerAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanReorderRecords

CanReorderRecords reorderable(string|Closure|null $column = null, bool|Closure|null $condition = null)

No description

Parameters

string|Closure|null $column
bool|Closure|null $condition

Return Value

CanReorderRecords

CanReorderRecords authorizeReorder(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanReorderRecords

Action getReorderRecordsTriggerAction(bool $isReordering)

No description

Parameters

bool $isReordering

Return Value

Action

string|null getReorderColumn()

No description

Return Value

string|null

bool isReorderable()

No description

Return Value

bool

bool isReordering()

No description

Return Value

bool

bool isReorderAuthorized()

No description

Return Value

bool