TileLayoutReorderEvent
Arguments for the reorder
event.
The event fires when you change the order or starting positions of items through the UI.
You can prevent this event to cancel the reorder operation.
Name | Type | Default | Description |
---|---|---|---|
item |
|
The TileLayoutItem being reordered. | |
items |
|
The TileLayoutItem collection that holds the currently rendered items and their internal state. | |
newCol? |
|
The new start column of the reordered item. | |
newIndex |
|
The new order index of the reordered item used to determine its positioning relative to the other items. | |
newRow? |
|
The new start row of the reordered item. | |
oldCol? |
|
The initial start column of the reordered item. | |
oldIndex |
|
The initial order index of the reordered item used to determine its positioning relative to the other items. | |
oldRow? |
|
The initial start row of the reordered item. |
Methods
isDefaultPrevented | ||||
---|---|---|---|---|
Returns | ||||
|
preventDefault |
---|
Prevents the default action for the event. The source component suppresses the built-in behavior that follows the event. |