UNPKG

@progress/kendo-angular-utils

Version:

Kendo UI Angular utils component

48 lines (47 loc) 1.5 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 dragStart event of the DragTarget and DragTargetContainer. */ export class DragTargetDragStartEvent extends PreventableEvent { /** * The normalized drag event. */ dragEvent; /** * The DOM element that is being dragged. */ dragTarget; /** * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive. */ dragTargetId; /** * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive). */ dragTargetIndex; /** * Left for backward compatibility for the DragTarget deprecated events. * @hidden */ get normalizedEvent() { return this.dragEvent; } /** * Left for backward compatibility for the DragTarget deprecated events. * @hidden */ get hostElement() { return this.dragTarget; } /** * @hidden */ constructor(args) { super(); Object.assign(this, args); } }