Skip to content

Added vertical swipes by separating into 2 functions: horizontalswipe & verticalswipe #5112

Closed
wants to merge 1 commit into from

2 participants

@jsmits21

New to this, but I needed vertical swipe functions for a project I was working on.This created a new function that swaps out the variables and equations to look for vertical swipes, because vertical
layouts are just as cool. Note that this was working in a different
custom copy of jquery mobile I was working with. I thought of combining
all the directions into one function but then thought it would save
little in terms of file size or computing resources, and this way is
easier for the end-user and offers him/her more options.

Note that I'm not sure how much functionality issues this may add to more standard uses of jQuery mobile.

@jsmits21 jsmits21 verticalswipe and horizontalswipe functions
Added veritcal swipes by creating a new function that swaps out the
variables and equations to look for vertical swipes, because vertical
layouts are just as cool. Note that this was working in a different
custom copy of jquery mobile I was working with. I though of combining
all the directions into one function but then thought it would save
little in terms of file size or computing resources, and this way is
easier for the end-user.
11d4a62
@arschmitz
jQuery Foundation member

Vertical swipe is in essense scrolling unless you have a non scrollable page we have discussed this and will not be adding vertical swipe but have made the event able to be extended to easily add your self

@arschmitz arschmitz closed this Aug 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.