Swipe
This class recognizes and fires swipe gesture events.
Configs
4
Configs
4The maximum amount of time (in milliseconds) for the swipe gesture to complete. If the touch gesture lasts
longer than this limit, the gesture will not be recognized as a swipe.
The time limit (in milliseconds) for a gesture to receive no events. If no touch movement occurs for this
amount of time, the gesture will not be recognized as a swipe.
The minimum amount of movement (in pixels) that must occur for the touch gesture to be recognized as a swipe.
The maximum amount of movement (in pixels) that is allowed on the opposite axis to still be recognized as
a swipe. By default, up to 30px of movement is allowed in the Y-axis of an X-axis swipe, and vice versa.