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

Mod to get it to work with vue 1.x #6

Open
tomcon opened this issue Jan 25, 2016 · 4 comments
Open

Mod to get it to work with vue 1.x #6

tomcon opened this issue Jan 25, 2016 · 4 comments

Comments

@tomcon
Copy link

tomcon commented Jan 25, 2016

Need to use the new syntax, instead of
v-draggable="icon: {id: id, index: $index}"
use
v-draggable:icon="{id: id, index: $index}"

@EHackettTriCore
Copy link

+1 @tomcon this could have saved me some debugging time.

@lain-dono could you update the examples/plugin to reflect the new syntax?

@think2011
Copy link

+1

@zhangquxi
Copy link

+1Thank you.help me much.
This is the only one Drag-and-Drop components which can run well between difference components.

@xgvargas
Copy link

Great advice, but how to deal with multiple ids?

v-dropzone="
      y: sort(listY, $index, $droptag, $dropdata),
      x: move(listX, listY, $index, $droptag, $dropdata)
    "

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

5 participants