Skip to content

Instantly share code, notes, and snippets.

View swipePlug.js
/**
* swipeFunc as plugin
*/
(function($) {
$.swipePlug = function(element, options) {
var defaults = {
touchstart: {x:-1, y:-1},
touchmove : {y:-1, y:-1},