UNPKG

@progress/kendo-angular-gantt

Version:
32 lines (31 loc) 1.1 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TaskEditItem } from "./task-edit-event.interface"; /** * Contains the event data for the [`taskAdd`]({% slug api_gantt_ganttcomponent %}#toc-taskadd) event. */ export interface TaskAddEvent { /** * Holds the currently selected Gantt task. */ selectedItem: TaskEditItem | null; /** * Holds the type of add action. The built-in types are `addTask`, `addChild`, `addAbove`, and `addBelow`. */ actionType: string; } /** * Describes the AddTask DropDownButton options. */ export interface GanttAddTaskActionItem { /** * Holds the text for the DropDownButton option. */ text: string; /** * Holds the type of action for the DropDownButton option. */ type: string; }