Skip to content
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

how to get node data when click? #24

Open
blackinitial opened this issue Apr 3, 2020 · 1 comment
Open

how to get node data when click? #24

blackinitial opened this issue Apr 3, 2020 · 1 comment

Comments

@blackinitial
Copy link

i not understand what the meaning parameter node-data on click-node event.
how to get data object on node when clicked??

@francesco-ismb
Copy link

Hi,
I solved using:
<organization-chart :datasource="treeData" @node-click="nodeData => myFunction(nodeData)">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants