UNPKG

@progress/kendo-angular-gantt

Version:
31 lines (30 loc) 1.1 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import type { GanttComponent } from '../../gantt.component'; /** * Provides the arguments for the `taskClick` event of the Gantt. */ export interface TaskClickEvent { /** * Holds the DOM event that triggered the `taskClick` event. */ originalEvent: PointerEvent | KeyboardEvent; /** * Holds the data item for the clicked task. */ dataItem: any; /** * Holds the Gantt component instance. */ sender: GanttComponent; /** * Holds the order index of the clicked task, based on the number of rendered tasks in the Timeline. */ index: number; /** * Holds the type of event that triggered the `taskClick` event. */ type: 'click' | 'contextmenu' | 'dblclick'; }