Skip to content

How is cloning currently implemented, like https://sortablejs.github.io/Vue.Draggable/#/clone #34

Closed Answered by alexreardon
litingyes asked this question in Q&A
Discussion options

You must be logged in to vote
  • By default the native drag preview is a clone of the dragging element (or you can use a custom drag preview)
  • You can use dropEffect: "copy" on your drop target to make it super clear that your item is being copied (and not moved)
  • After a drop, you control what the drop does. So after a drop, if you want to copy / clone, you can make a copy in the new destination and leave the original in place

Let me know how you go!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by litingyes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants