New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to add the popup for adding the child from the node and deleting node #77
Comments
Same problem, did you solve it? |
This works for me,
|
Solution Found. use this |
I have used the slot in this format but whenever I click on the text of the node it won't pop up.
code :
<tree :data="data" layoutType="horizontal" :radius="10" > <template #popUp="{data,node}"> <div class="btn-group-vertical"> <button @click="addFor(data)"> <i class="fa fa-plus" aria-hidden="false"></i> </button> <button @click="remove(data, node)"> <i class="fa fa-trash" aria-hidden="false"></i> </button> </div> </template> </tree>
any suggestion ?
The text was updated successfully, but these errors were encountered: