@progress/kendo-react-sortable
Version:
React Sortable provides a sortable drag-and-drop functionality to elements within a list. KendoReact Sortable package
32 lines (31 loc) • 1 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';
import { PreventableEvent } from './PreventableEvent.js';
/**
* The `SortableOnDragStartEvent` event.
*/
export declare class SortableOnDragStartEvent extends PreventableEvent implements BaseEvent<Sortable> {
/**
* The Sortable component.
*/
target: Sortable;
/**
* The target element.
*/
element: HTMLElement;
/**
* The previous index of the dragged item.
*/
prevIndex: number;
/**
* @hidden
*/
constructor(target: Sortable, prevIndex: number, element: HTMLElement);
}