ParadeTo / vue-tree-list

🌲A vue component for tree structure

Home Page:http://paradeto.com/vue-tree-list/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add CSS class to active

elalienx opened this issue · comments

Hello, there is a way to add an active class to the currently selected node?
For now the only way that I can think of is to add the class by getting the node id. But is a little messy to remove the css class before assigning the active class to another node.

commented

When click a node, it will trigger a event click