UNPKG

@progress/kendo-angular-layout

Version:

Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts

37 lines (36 loc) 1.58 kB
/**----------------------------------------------------------------------------------------- * 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'; /** * Arguments for the `resize` event. The `resize` event fires when any item size * is changed from the UI. If you cancel the event, the change is prevented ([see example]({% slug resizing_tilelayout %}#toc-handling-the-resize-event)). */ export class TileLayoutResizeEvent extends PreventableEvent { item; items; newRowSpan; oldRowSpan; newColSpan; oldColSpan; /** * Constructs the event arguments for the `resize` event. * @param item - The TileLayoutItem being resized * @param items - The TileLayoutItem collection * @param newRowSpan - The new rowSpan of the resized item * @param oldRowSpan - The initial rowSpan of the resized item * @param newColSpan - The new colSpan of the resized item * @param oldColSpan - The initial colSpan of the resized item * @hidden */ constructor(item, items, newRowSpan, oldRowSpan, newColSpan, oldColSpan) { super(); this.item = item; this.items = items; this.newRowSpan = newRowSpan; this.oldRowSpan = oldRowSpan; this.newColSpan = newColSpan; this.oldColSpan = oldColSpan; } }