UNPKG

@progress/kendo-angular-gantt

Version:
31 lines (30 loc) 1.06 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'; /** * Triggered every time a task is clicked. */ export interface TaskClickEvent { /** * The DOM event that triggered the `taskClick` event. */ originalEvent: PointerEvent | KeyboardEvent; /** * The data item associated with the clicked task. */ dataItem: any; /** * The Gantt component instance. */ sender: GanttComponent; /** * The order index of the clicked task, defined by the number of rendered tasks in the Timeline. */ index: number; /** * The type of the event that triggered the `taskClick` event. */ type: 'click' | 'contextmenu' | 'dblclick'; }