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

Pinch and Drag within the same element #13

Closed
omsoft opened this issue Jul 4, 2013 · 1 comment
Closed

Pinch and Drag within the same element #13

omsoft opened this issue Jul 4, 2013 · 1 comment

Comments

@omsoft
Copy link

omsoft commented Jul 4, 2013

Is it possible to apply 2 different events to the same element of the page?
I'd like to pinch-zoom an image and drag it at the same time, for reading purposes inside a jQuerymobile application.

Thanks

@fisherwebdev
Copy link
Member

Yes touchy-pinch and touchy-drag may be used at the same time. You will need to bind each event separately, however.

Also, here is a video of of a talk, given by Flickr's Stephen Woods, about how you might approach that same task with native code:
http://www.youtube.com/watch?v=lcD9CF0bxyk

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