-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some higher level events #14
Comments
Or at least example code in the readme |
My use case knownasilya/ember-toggle#138 |
Yes, some more example code would be good. What do you think a specific panleft action (for example) would look like? Usually you kind of only need the distance (over the horizontal or vertical axis) and the velocity in practical applications. Not sure what would be different in a more specific action except for the removal of most info from the POJO. |
Guess it doesn't add that much value, maybe just an example in the readme how to differentiate between left/right (and u/down when vertical is implemented) |
I stumbled upon this addon while looking for a modern solution to detect a sort of "quick swipe left/right" gesture for sidebar open state manipulation. I'm pretty noob regarding touch events, so I couldn't figure out the appropriate way to detect the swipe but not trigger on regular horizontal scroll. I would like to mimic iPhone native app "swipe from left" behavior, not interfering with regular scroll, so the most ideal IMO would be to check (on document body / the app wrapper div):
Can you maybe provide an example for that? 🙏 Notes:
|
If you only want to detect a quick swipe and not do anything with a (slow) drag you can use the |
A panleft and panright action would be awesome.
The text was updated successfully, but these errors were encountered: