@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
35 lines (34 loc) • 1.06 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Represents a Gantt task.
*/
export interface GanttTask {
/**
* Sets the date when the Gantt task ends.
* Provide a valid `Date` object.
*/
end: Date;
/**
* Sets the unique identifier for the task.
*/
id: string | number;
/**
* Sets the completion ratio for the task.
* Use a value between `0` and `1` to show the completed part of the task.
* @default 0
*/
completionRatio?: number;
/**
* Sets the date when the Gantt task starts.
* Provide a valid `Date` object.
*/
start: Date;
/**
* Sets the title of the task that the Gantt component displays.
* @default ""
*/
title?: string;
}