@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
47 lines (46 loc) • 1.37 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 { Day } from "@progress/kendo-date-math";
import { TimelineViewType } from "./timeline-view";
import { TimelineHeaderDateFormat } from "./timeline-header-date-format";
/**
* @hidden
*
* Represents an instance of a Gantt timeline options.
*
* @hidden
*/
export interface TimelineOptions {
/**
* The width of the time slot headers. Values are treated as pixels.
*
* @default 100
*/
slotWidth?: number;
/**
* The view type.
*/
type?: TimelineViewType;
/**
* The start of the work day.
*/
workDayStart?: string;
/**
* The end of the work day.
*/
workDayEnd?: string;
/**
* The start of the work week (index based).
*/
workWeekStart?: Day;
/**
* The end of the work week (index based).
*/
workWeekEnd?: Day;
/**
* The options for formatting the Group Headers and Column Headers in each individual Timeline Header.
*/
timelineHeadersDateFormat?: TimelineHeaderDateFormat;
}