Skip to content

Commit

Permalink
Fix #4179: Tree drag drop typescript update (#4182)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Mar 27, 2023
1 parent c7ab702 commit 73840ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -27812,6 +27812,13 @@
"type": "default",
"description": "The node that is being dragged."
},
{
"name": "dropNode",
"optional": false,
"readonly": false,
"type": "default",
"description": "The node that is being dropped on."
},
{
"name": "dropIndex",
"optional": false,
Expand Down
4 changes: 4 additions & 0 deletions components/lib/tree/tree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ interface TreeDragDropEvent {
* The node that is being dragged.
*/
dragNode: TreeNode;
/**
* The node that is being dropped on.
*/
dropNode: TreeNode;
/**
* The index of the drop.
*/
Expand Down

0 comments on commit 73840ea

Please sign in to comment.