@progress/kendo-react-sortable
Version:
React Sortable provides a sortable drag-and-drop functionality to elements within a list. KendoReact Sortable package
35 lines (34 loc) • 1.04 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { BaseEvent } from './BaseEvent';
import { Sortable } from '../Sortable.js';
/**
* The `SortableOnNavigateEvent` event.
*/
export declare class SortableOnNavigateEvent implements BaseEvent<Sortable> {
/**
* The Sortable component.
*/
target: Sortable;
/**
* The previous index of the dragged item.
*/
prevIndex: number;
/**
* The new index of the dragged item.
*/
nextIndex: number;
/**
* The new state of the Sortable data.
*/
newState: Array<object>;
/**
* @hidden
*/
constructor(target: Sortable, prevIndex: number, nextIndex: number, newState: Array<object>);
}