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 drag arbitrary elements into a tree? #39

Open
ddenev opened this issue Jan 3, 2021 · 5 comments
Open

How to drag arbitrary elements into a tree? #39

ddenev opened this issue Jan 3, 2021 · 5 comments

Comments

@ddenev
Copy link

ddenev commented Jan 3, 2021

This is a spectacular tree implementation I must say, so thank you for providing it!

Now, I have the following use case - I need to be able to drag elements INTO the tree and the source should not be another tree. The source (from where I want to drag elements from) is a grid or an arbitrary collection of elements (might also be a vertical/horizontal list but not necessary). Also, it should be possible to clone the element when dragging it into the tree.

Would that be possible with he-tree-vue? How do I implement an arbitrary collection of elements that can be draggable into the tree?

@phphe
Copy link
Owner

phphe commented Jan 4, 2021

It does not support such operations.

@ddenev
Copy link
Author

ddenev commented Jan 4, 2021

Thanks. Do you have plans to add this in the near future?

@phphe
Copy link
Owner

phphe commented Jan 4, 2021

I will try this weekend.

@phphe
Copy link
Owner

phphe commented Jan 4, 2021

@ddenev what's your vue version

@ddenev
Copy link
Author

ddenev commented Jan 4, 2021

It's 2 with @vue/composition-api but I plan to switch to 3 whenever the Quasar framework (which I use) switches to 3.

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