Skip to content

not able to add the popup for adding the child from the node and deleting node #77

Open
@surendrapaluikey

Description

@surendrapaluikey

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions