tomlongo/Flickable.js — pull request #10 by dmitrif (2012-08-29 21:41:03+00:00)
Title: PreventDefaultAxis

Added property determining on which axis you want to prevent default
actions. For example if set to restrict the y axis, scrolling will only
work as long as the flick is vertical. If the flick is recognized as a
horizontal movement the scrolling will be blocked.

The reason for this addition is when this is used for big components on web pages, a lot of times it will leave very miniscule amounts of area where a user can still scroll. This waits for the minimum treshold for recognizing a flick to be reached and then blocks one of the scrolling axis. Meaning if you do a mostly vertical touch movement, you can still scroll!

I tried to keep with your code guidelines and not change anything that wasn't required.

Thanks!