8
是否可以調整觸發滑動事件所需的距離,如果是這樣,它是如何完成的?調整jquery mobile中的滑動事件的距離
下面的代碼即時通訊談論:
$('.page2').bind('swiperight', function(event, ui){
$.mobile.changePage(
$('.page1'),
{
allowSamePageTransition: true,
transition: 'slide',
reverse: 'true',
showLoadMsg: false,
reloadPage: true,
}
);
return false;
});
$ .event.special.swipe看看。 horizontalDistanceThreshold = value;訣竅:) Thx – luQ 2013-05-02 08:24:11