Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.
|event||swipe||Name of the event.|
|threshold||10||Minimal distance required before recognizing.|
|direction||DIRECTION_ALL||Direction of the panning.|
|velocity||0.3||Minimal velocity required before recognizing, unit is in px per ms.|
Hammer() to create a simple instance, the pan and swipe recognizers are configured to only detect horizontal gestures.