Added iOS horizontal swipe gesture support#100
Conversation
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
|
+1 on this, I'm definitely applying the patch for my own project :) |
|
great work ill be using this for my next slider! cheers |
|
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 |
|
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! |
|
Excellent! Thanks for that |
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.