Skip to content

Commit 5edcf67

Browse files
committed
remove old code
1 parent a5db415 commit 5edcf67

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/frontend-shared/src/composables/examples/UseCollapsibleTreeExample.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
<template>
2-
<button @click="expand">
3-
Expand
4-
</button>
5-
<button @click="collapse">
6-
Collapse
7-
</button>
82
<div
93
ref="rootEl"
104
class="h-200px overflow-auto"
@@ -68,7 +62,7 @@ const onRowClick = (row, idx) => {
6862
6963
const rootEl: Ref<HTMLElement | undefined> = ref()
7064
71-
const { tree, expand, collapse } = useCollapsibleTree(root)
65+
const { tree } = useCollapsibleTree(root)
7266
const filteredTree = computed(() => tree.filter(((item) => !item.hidden.value)))
7367
7468
const { selectedItem, rowProps } = useListNavigation(rootEl)

0 commit comments

Comments
 (0)