@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
34 lines (33 loc) • 1.08 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 an instance of a Gantt task.
*/
export interface GanttTask {
/**
* The date at which the Gantt task ends.
* > A valid date should be provided.
*/
end: Date;
/**
* The unique identifier of the task.
*/
id: string | number;
/**
* The completion ratio of the task. A value between 0 and 1 representing the completed portion of the task.
* Defaults to `0`.
*/
completionRatio?: number;
/**
* The date at which the Gantt task starts.
* > A valid date should be provided.
*/
start: Date;
/**
* The title of the task which is displayed by the Gantt component.
* Defaults to `""`.
*/
title?: string;
}