framework7

Open full view…

swipe next to get next article

boynet
Tue, 22 Jul 2014 10:26:37 GMT

any idea how I implement this? i want the full effect like the swipe back where the page follow the finger but excpet of going back i want to get the next article

Vladimir Kharlampidi
Tue, 22 Jul 2014 13:48:06 GMT

No, no chances to get the same effect. You can try to use Slider for that or to use Hammer.js touch-gestures library where you can just load new page (using .loadPage method) within swipe-left gesture

boynet
Tue, 22 Jul 2014 14:41:37 GMT

its possible for me to try to integrate it in the framework or its not possible? like copy the RTL effect for swipe next insert to dom multiples page-on-right copy the swipe back but make it invert. I tried to use your swiper plugin with Smooth Progress but it feels hacky

Vladimir Kharlampidi
Tue, 22 Jul 2014 19:25:31 GMT

Hammer.js, yes of course it is possible, it is a really simple plugin, just look at http://hammerjs.github.io/ About copying RTL swipe-back gesture would be really really not easy if you are not good in JS. This will require a lot of modifications in core