-
I want to drag&drop sl-tree-items within its sl-tree. Depending on which sl-tree-items are being dragged only certain other sl-tree-items should be permitted as drop-targets. It would also be nice if multiple (selected) sl-tree-items could be dragged at once. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This isn't something we've tried to do yet. I'm sure it's possible, but it would probably require a separate drag & drop utility. We can make sure the component facilitates it if it doesn't already. Since the tree items are user-provided, things may just work as-is. If you give it a go, please report back! |
Beta Was this translation helpful? Give feedback.
I'm not sure what syntax these handlers are supposed to be:
But adding the listeners like this will log them to the console.