@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
27 lines (26 loc) • 1.04 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { DependencyType } from '../dependency-type.enum';
/**
* Provides the event data for the [`dependencyAdd`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#dependencyadd) event.
*/
export interface DependencyAddEvent {
/**
* Represents the task where the dependency starts (predecessor).
*/
fromTask: any;
/**
* Represents the task where the dependency ends (successor).
*/
toTask: any;
/**
* Specifies the dependency type for the linked tasks.
*/
type: DependencyType;
/**
* Indicates if the dependency creation is a valid link between the two tasks.
*/
isValid: boolean;
}