How to implement Swipe view in a mobile phone using javascript?

I am implementing a project in Phonegap-android.i, I would like to add SWIPE VIEW for the length of the data available in the database.

Please indicate how to implement the swipe view using a java script similar to what is shown in android.

I tried a lot, but was not successful .. I tried it with hammer.js, iscroll.js, Swipeview.js, idangerous Swiper.js.

For the last two ie Swipeview.js, idangerous Swiper.js , I had an android error

Miss a drag as we are waiting for WebCore response for touch down. 

I tried to install it using code

 document.addEventListener( 'touchstart', function(e){ onStart(e); }, false ); function onStart ( touchEvent ) { if( navigator.userAgent.match(/Android/i) ) { touchEvent.preventDefault(); } } 

Despite this code, I came across the same WARNING. If hammer.js, iscroll.js , it did not execute properly.

+4
source share
1 answer

Check out the following links to help you browse through napkins:

+1
source

All Articles