addSwipe plugin jQuery

AddSwipe plugin

With this plugin you can add swipe action to a layer, and render actions for the left and right swipe move gesture. Works with mouse and touchscreen uniformly. You can also set it up to snap to grid, e.g. window width or a fraction of the width.


$(layer).addSwipe( leftFn, rightFn, { options } );