@progress/kendo-angular-layout
Version:
Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts
34 lines (33 loc) • 2.02 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { PreventableEvent } from '@progress/kendo-angular-common';
import { TileLayoutItemComponent } from './tilelayout-item.component';
/**
* 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]({% slug reordering_tilelayout %}#toc-handling-the-reorder-event)).
*/
export declare class TileLayoutReorderEvent extends PreventableEvent {
item: TileLayoutItemComponent;
items: TileLayoutItemComponent[];
newIndex: number;
oldIndex: number;
newCol?: number;
oldCol?: number;
newRow?: number;
oldRow?: number;
/**
* Constructs the event arguments for the `reorder` event.
* @param item - The TileLayoutItem being reordered.
* @param items - The TileLayoutItem collection that holds the currently rendered items and their internal state.
* @param newIndex - The new order index of the reordered item used to determine its positioning relative to the other items.
* @param oldIndex - The initial order index of the reordered item used to determine its positioning relative to the other items.
* @param newCol - The new start column of the reordered item.
* @param oldCol - The initial start column of the reordered item.
* @param newRow - The new start row of the reordered item.
* @param oldRow - The initial start row of the reordered item.
* @hidden
*/
constructor(item: TileLayoutItemComponent, items: TileLayoutItemComponent[], newIndex: number, oldIndex: number, newCol?: number, oldCol?: number, newRow?: number, oldRow?: number);
}