jaunesarmiento / fries

Fries helps you prototype Android apps using HTML, CSS, and JavaScript.
MIT License
1.55k stars 223 forks source link

Switching between Fries tabs through swiping #24

Open aymanfarhat opened 11 years ago

aymanfarhat commented 11 years ago

Hello, we are working on a prototype app with phonegap + Fries, I came across the need for allowing the user to swipe(left/right) between Fries tabs so I built a custom library just for that and integrated it with tabs.js by decoupling some of your code in order to reuse the transition code between tabs.

I was thinking that you might be interested in integrating such a feature for the next Fries release, if yes I can do a pull request as soon as I have time to eliminate a couple of Zepto dependencies and it would be fully compatible.

The project source is not yet open sourced so if you'd like to check sample code + phonegap demo you can contact me at ayman.farhat1 [at] gmail.com

Thanks!

jaunesarmiento commented 11 years ago

That's really great @aymanfarhat! +1 to this. I was planning to add this feature to tabs.js a while back.

Yes, I'd love to see what people are doing with Fries. I'll send you an email. Cheers!