当我的页面进入一种全屏模式时,我可以让touchwipe运行,但是当我离开它时如何取消绑定它的事件?
我试过了...
$(document).unbind();
$(document).unbind('touchmove touchstart');
$(document).off();
$(document).off('touchmove touchstart');
$(document).touchwipe({
wipeLeft:function(){},
wipeRight:function(){},
wipeUp:function(){},
wipeDown:function(){}
});