UNPKG

@progress/kendo-angular-gantt

Version:
32 lines (31 loc) 1.12 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"; /** * The event data of the [`taskAdd`]({% slug api_gantt_ganttcomponent %}#toc-taskadd) event. */ export interface TaskAddEvent { /** * The currently selected Gantt task. */ selectedItem: TaskEditItem | null; /** * The type of the add action. The built-in types are `addTask`, `addChild`, `addAbove`, and `addBelow`. */ actionType: string; } /** * The interface of the AddTask DropDownButton options. */ export interface GanttAddTaskActionItem { /** * The text of the respective DropDownButton option. */ text: string; /** * The type of action associated with selecting the respective DropDownButton option. */ type: string; }