Comments (3)
Thank you very much. I did it according to your example and everything worked. I apparently looked at the documentation from the old version.
In my project I use version 5.0
from vue-tree.
Hi @alimuradov, it looks like your event names are off. Those are accurate for the 3.x version, but not the 5.x version (you didn't say what version you're using, so I'm assuming latest). For 5.x the event names dropped the View
and so are just treeNodeDelete
and treeNodeClick
. Here's a sample:
https://stackblitz.com/edit/vitejs-vite-hhsauc?file=src%2FApp.vue&terminal=dev
Let me know if you're on 3.x or if this helps with your issue. Also, if you are on 5.x and got your event names from some sample code or docs that need an update from me please let me know that as well!
from vue-tree.
Great, I'm glad you got it working!
from vue-tree.
Related Issues (20)
- Nodes with loadChildrenAsync and expanded:true do not expand on init (v3.0.5) HOT 12
- How to access and modify the parent state of a node? HOT 6
- Expandable node with async loaded children should remain expandable when empty HOT 2
- Refactor composables by concern
- Support for filtering HOT 7
- Single selection mode does not work with customised id property name HOT 3
- treeNodeSelectedChange API improvement? HOT 4
- Update traversal to allow post-order traversal
- See if objectMethods.js can be replaced with structuredClone
- Cancel a node deletion HOT 3
- Have the ability to cancel a delete HOT 2
- Upgrade Storybook to 7.x
- Drag and Drop Event Listeners ?? is there any HOT 4
- Expand on click label HOT 2
- Drag&drop to different position inside parent HOT 4
- Tag with fix "deleteNodeCallback" HOT 2
- how to apply filter from filterMethod? HOT 3
- Import not working according to docs HOT 3
- initial-model not reacting to new data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-tree.