holiber / sl-vue-tree

Customizable draggable tree component for Vue.js
MIT License
344 stars 79 forks source link

visible is not working #58

Open DaniBisi opened 5 years ago

DaniBisi commented 5 years ago

hello it seems like setting "data": { "visible": false } for a node dosen't change anything

how can we fix this? (or am i missing something?) (actually even in the demo page is not working)

holiber commented 5 years ago

It changes the visibility icon in the demo https://holiber.github.io/sl-vue-tree/demo/index It's just an example of how to use user-defined data. If you wish to not to display some nodes than just don't provide these nodes in the JSON that you're passing to the component.