refactor: add animation tree view

This commit is contained in:
puriphatt 2024-09-25 17:50:57 +07:00
parent 927206ca74
commit 769fb483c4

View file

@ -91,7 +91,7 @@ function toggleExpand(node: Node) {
<q-icon <q-icon
name="mdi-chevron-down-circle" name="mdi-chevron-down-circle"
size="sm" size="sm"
:style="`transform: rotate(${node.opened ? '180deg' : '0'})`" :style="`transform: rotate(${node.opened ? '180deg' : '0'}); transition: transform 0.3s ease;`"
/> />
</div> </div>