@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
27 lines (26 loc) • 984 B
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';
/**
* The event data of the [`dependencyAdd`]({% slug api_gantt_ganttcomponent %}#toc-dependencyadd) event.
*/
export interface DependencyAddEvent {
/**
* The task from which the dependency starts (predecessor).
*/
fromTask: any;
/**
* The task where the dependency ends (successor).
*/
toTask: any;
/**
* The dependency type of the linked tasks.
*/
type: DependencyType;
/**
* Specifies whether the dependency creation attempt is a valid link between the two targeted tasks.
*/
isValid: boolean;
}