@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
27 lines (26 loc) • 1 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 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`]({% slug api_gantt_ganttcomponent %}#toc-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;
}