28 lines
503 B
TypeScript
28 lines
503 B
TypeScript
import { TreeNode } from './treenode';
|
|
/**
|
|
* Represents the event data for a tree node drag operation.
|
|
* @group Interface
|
|
*/
|
|
export interface TreeNodeDragEvent {
|
|
/**
|
|
* Tree instance.
|
|
*/
|
|
tree?: any;
|
|
/**
|
|
* Node to be dragged.
|
|
*/
|
|
node?: TreeNode<any>;
|
|
/**
|
|
* Child nodes of dragged node.
|
|
*/
|
|
subNodes?: TreeNode<any>[];
|
|
/**
|
|
* Index of dragged node.
|
|
*/
|
|
index?: number;
|
|
/**
|
|
* Scope of dragged node.
|
|
*/
|
|
scope?: any;
|
|
}
|