holiber/sl-vue-tree

visible is not working

Opened this issue · 1 comments

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)

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.