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

Is it possible to get information about the location of the element at the end of the drag element? #46

Open
jocklei opened this issue Feb 9, 2018 · 1 comment

Comments

@jocklei
Copy link

jocklei commented Feb 9, 2018

Can all the elements be dragged and the nearby yuan swap position(Is it possible to get information about the location of the element at the end of the drag element?)?

For example, I have two elements of "A" and "B". They are arranged according to the data "clickNumber" attribute. I want to drag and move to exchange "clickNumber" value, so that I can change location and realize it.

@xieziyu
Copy link
Owner

xieziyu commented Mar 15, 2018

@leihg From v1.3.1, we can get information from (movingOffset) and (endOffset) emitters. Please refer to demo page for detail

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