@progress/kendo-angular-sortable
Version:
A Sortable Component for Angular
30 lines (29 loc) • 889 B
JavaScript
/**-----------------------------------------------------------------------------------------
* 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 './preventable-event';
/**
* The `navigate` event is emitted when using the keyboard arrows.
*/
export class NavigateEvent extends PreventableEvent {
/**
* The index of the draggable item.
*/
index;
/**
* The old index of the draggable item.
*/
oldIndex;
/**
* Indicates whether the ctrl or meta keys are pressed.
*/
ctrlKey;
/**
* @hidden
*/
constructor(options) {
super();
Object.assign(this, options);
}
}