vue3-tree
vue3-tree copied to clipboard
Scope on node label
-
I'm submitting a ...
- [X] feature request
-
What is the current behavior? Currently, it's really hard to have nodes with different "state" or have something different than a text, like a button for example
-
What is the expected behavior? Possibility to put whatever we want in a node, only having the node data parameters
-
What is the motivation / use case for changing the behavior? This can be useful in many cases, like putting the type of the current node next to the text in a specific color or having a button instead of text to add a child to the node....
-
Other information I forked the project and implements the solution following the liquor-tree implementation (a good vue2 tree library) https://github.com/Daviruss1969/vue3-tree