0
當我的頁面進入一種全屏模式時,我可以運行touchwipe,但是當我離開它時,如何解除它的事件?如何解除jQuery touchwipe?
我想...
$(document).unbind();
$(document).unbind('touchmove touchstart');
$(document).off();
$(document).off('touchmove touchstart');
$(document).touchwipe({
wipeLeft:function(){},
wipeRight:function(){},
wipeUp:function(){},
wipeDown:function(){}
});