Skip to content

Commit 4cc8a91

Browse files
committed
feat: add v-on to expand animation tree nodes
1 parent 0c8eb32 commit 4cc8a91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Tree.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
:data="node"
5151
:getNode="getNode"
5252
:noSiblingNodeMap="noSiblingNodeMap"
53+
v-on="treeNodeListeners"
5354
:class="getNodeClassName(node)"
5455
:style="{
5556
minHeight: `${nodeMinHeight}px`,
@@ -73,6 +74,7 @@
7374
:data="node"
7475
:getNode="getNode"
7576
:noSiblingNodeMap="noSiblingNodeMap"
77+
v-on="treeNodeListeners"
7678
:class="getNodeClassName(node)"
7779
:style="{
7880
minHeight: `${nodeMinHeight}px`,

0 commit comments

Comments
 (0)