N00ts / vue3-treeview

a simple treeview in vue js 3
MIT License
71 stars 61 forks source link

Adding / removing nodes at runtime #8

Closed PlainBane closed 2 years ago

PlainBane commented 2 years ago

Hello, Are there any plans on implementing "adding / removing nodes at runtime" feature? I tried to do it with the node slot. That works, but it would be nice to have such functions in the api.

N00ts commented 2 years ago

This component is reactive ! So if you cant to add / remove node, jsut do it progamitically. you can use for example slots to put a button :)