-
Notifications
You must be signed in to change notification settings - Fork 62
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 delete a node? #48
Comments
@caiokawasaki did you figure this out? |
@alucidwolf yes! Simple:
Inside methods:
|
@caiokawasaki Sweet! Thank you. I am using a Vuex store to render the data in a computed property, so once I remove the node, I call getPureData() and pass the new tree to a mutation to update the store.
Method:
I am wondering if maybe I do not need to pass Are you familiar with Vuex and have input on that? If not it's OK, you have helped me move forward already. Thanks again! |
@alucidwolf I did not store the tree in the Vuex of my application... Sorry, I do not know how to help you = / |
How to use the method
deleteNode
?The text was updated successfully, but these errors were encountered: