After the Zepto.js swipe event version, here is another implementation of the “Page Swipe” UI pattern. This version is implemented with iScroll and its “snap” feature.
Watch a short video here:
Notice that the user experience is slightly different compared to the previous version: the content of the target page is revealed as you swipe.
The source code is available here.
Does this framework work a web based application? I guess not.
Or Is only supported on phonegap “native” application?.
Have you faced the UIViewClass memory restriction while developing PG apps?
Thanks
Thank you. very helpful code. this code more useful that before :)
Or Is only supported on phonegap “native” application?.
Is there a way to detect a screen resize (a device rotation in PhoneGap) that will resize the pages correctly so the scrolling still works?
NM. I read the updateLayout function
Thank you. Very well done.
I’ve tried 2-way-iscroll (https://github.com/cubiq/2-way-iScroll) in the past and found that did the trick. The nice part is you only need one instance of iscroll.
hank you. very helpful code. this code more useful that before :)
Broken on Android 4.0.4 sad to say! :(