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.
When click a node, it will trigger a event click