@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
29 lines (28 loc) • 1.11 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Defines the possible positions where the Gantt toolbar or its tools render.
*/
export type ToolbarPosition = 'top' | 'bottom' | 'both' | 'none';
/**
* Configures the toolbar's position and content.
*/
export interface ToolbarSettings {
/**
* Sets the position of the toolbar(s).
* @default 'top'
*/
position?: ToolbarPosition;
/**
* Sets the position of the toolbar(s) where the [`AddTaskComponent`](slug:api_gantt_ganttaddtaskcomponent) renders.
* @default 'none'
*/
addTaskTool?: ToolbarPosition;
/**
* Sets the position of the toolbar(s) where the [`ViewSelectorComponent`](slug:api_gantt_viewselectorcomponent) renders.
* @default 'top'
*/
viewSelectorTool?: ToolbarPosition;
}