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

Added iOS horizontal swipe gesture support #100

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

matehat
Copy link

@matehat matehat commented Jan 10, 2012

I added an option swipe: {true|false} that, when set to true, allows the user of a iOS device to swipe through slides using one finger.

Mathieu D'Amours added 5 commits January 10, 2012 14:38
Added a detection for the direction of greatest amplitude (X or Y) to
allow Y scrolling and X swiping
Detect the case when swipe begins in one direction, but reverses before
ending, indicating a desire to return to the original slide.
…des is not sufficient

Thanks to @gvandenb for pointing out this case
@knewter
Copy link

knewter commented Jan 28, 2012

+1 on this, I'm definitely applying the patch for my own project :)

@benmort
Copy link

benmort commented May 25, 2012

great work ill be using this for my next slider! cheers

@farser
Copy link

farser commented Jun 27, 2012

Call me daft but I can't for the life of me work out how to enable swipe.

I also can't seem to find working examples of this in action anywhere. The version available here at git and at foundation.zurb.com don't swipe on my iphone 4s

hoping someone can point me in the right direction. thanks

@matehat
Copy link
Author

matehat commented Jun 27, 2012

Hey,

You won't find it there because Zurb hasn't merged in this pull request, but you can find a working demo at : http://www.matehat.com/orbit/demo/demo.html

If you want to enable it for your project, you'd need to use my branch.

The first orbit is swipe-enabled and second isn't.

I also implemented this on http://storm.io, although not as a Zurb Orbit widget.

Good luck!

@farser
Copy link

farser commented Jun 28, 2012

Excellent! Thanks for that

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

Successfully merging this pull request may close these issues.

None yet

5 participants