We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
from the https://codesandbox.io/s/events-7st2s?from-embed=&file=/src/App.vue:355-385 example we can see how to bind a custom handler to the nodeFocus event. But how can I get the ID of the element which triggered this event please? How do I know which node the user clicked on? :)
thanks, Gabor
The text was updated successfully, but these errors were encountered:
Never mind, got the solution:
<script> function nodeFocus(event) { console.log(event.id) } </script> <template> <treeview :config="treeConfig" :nodes="treeNodes" @nodeFocus="nodeFocus"> </treeview> </template>
Sorry, something went wrong.
No branches or pull requests
Hello,
from the https://codesandbox.io/s/events-7st2s?from-embed=&file=/src/App.vue:355-385 example we can see how to bind a custom handler to the nodeFocus event. But how can I get the ID of the element which triggered this event please? How do I know which node the user clicked on? :)
thanks, Gabor
The text was updated successfully, but these errors were encountered: