TileLayoutReorderEvent
Arguments for the reorder
event. The event fires when the order or starting
positions of the items is changed via the UI. If you prevent the event, the change is canceled (see example).
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 a specified event. In this way, the source component suppresses the built-in behavior that follows the event. |