@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
30 lines (29 loc) • 1.21 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The position at which the Gantt toolbar or any of its inner tools is rendered. Defaults to `'top'`.
* The possible values are `'top'`, `'bottom'`, `'both'`, and `'none'`.
*/
export type ToolbarPosition = 'top' | 'bottom' | 'both' | 'none';
/**
* The configuration of the toolbar position and content.
*/
export interface ToolbarSettings {
/**
* The position of the toolbar(s).
* @default 'top'
*/
position?: ToolbarPosition;
/**
* The position of the toolbar(s) where the [`AddTaskComponent`](slug:api_gantt_ganttaddtaskcomponent) is rendered.
* @default 'none'
*/
addTaskTool?: ToolbarPosition;
/**
* The position of the toolbar(s) where the [`ViewSelectorComponent`](slug:api_gantt_viewselectorcomponent) is rendered.
* @default 'top'
*/
viewSelectorTool?: ToolbarPosition;
}