Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".swipe").swipe( { swipeLeft:swipe1, swipeRight:swipe1, allowPageScroll:"vertical"} );
- //Swipe handlers.
- var swipe1 = function swipe1(event, direction) {
- $(this).hide();
- mySwiper.swipeNext();
- brewerySwiper.swipeNext();
- }
- var swipe2 = function swipe2(event, phase, direction, distance) {
- $(this).hide();
- mySwiper.swipePrev();
- brewerySwiper.swipePrev();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement