amsik / liquor-tree

Tree component based on Vue.js
MIT License
398 stars 95 forks source link

template #203

Open ftb opened 4 years ago

ftb commented 4 years ago

Hi all is it possible to use a conditional template like this:

 <template v-if="node.id == 0">
               node.checkbox: false
             </template>
ftb commented 4 years ago

hi! my problem remain.. Kostiantyn can you suggest a solution for hiding node on certain conditions? for me the right parameter would be node depht, but I have not find a solution. Slot seems god but only for node.text.. probably my fault but..