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

Stop dragging, Start dragging for all element #255

Closed
calebelt opened this issue Nov 6, 2015 · 3 comments
Closed

Stop dragging, Start dragging for all element #255

calebelt opened this issue Nov 6, 2015 · 3 comments
Labels

Comments

@calebelt
Copy link

calebelt commented Nov 6, 2015

How do I stop or start dragging all elements?

@calebelt
Copy link
Author

calebelt commented Nov 6, 2015

So far, I made a small crutch...

var drake = emitter({
containers: o.containers,
start: manualStart,
end: end,
cancel: cancel,
remove: remove,
destroy: destroy,
dragging: false,
stopall: false
});

function grab (e) {
if(drake.stopall){return;}
...

@bevacqua
Copy link
Owner

bevacqua commented Nov 6, 2015

See #248

@bevacqua bevacqua closed this as completed Nov 6, 2015
@tareksadek
Copy link

what if i want to stop the drag event on an item after being dropped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants