UNPKG

@progress/kendo-angular-treeview

Version:
34 lines (33 loc) 1.36 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TreeViewComponent } from '../../treeview.component'; import { TreeItemLookup } from '../../treeitem-lookup.interface'; import { DropPosition } from './drop-position'; /** * Provides information for TreeView drag-and-drop [`addItem`](slug:api_treeview_treeviewcomponent#additem) * and [`removeItem`](slug:api_treeview_treeviewcomponent#removeitem) events. */ export interface TreeItemAddRemoveArgs { /** * Reference to the TreeView from which the dragged item originates. */ sourceTree: TreeViewComponent; /** * Reference to the TreeView onto which the dragged item is dropped. */ destinationTree: TreeViewComponent; /** * Lookup information for the dragged item. */ sourceItem: TreeItemLookup; /** * Lookup information for the item onto which the dragged item is dropped. */ destinationItem: TreeItemLookup; /** * Represents the drop position relative to the target item. */ dropPosition: DropPosition; }