【发布时间】:2014-07-05 23:41:18
【问题描述】:
如何在 photoswipe 中捕捉滑动事件?
我尝试了以下...
var pSwipe = window.Code.PhotoSwipe.attach($(arrGallery), options);
pSwipe.show(0);
pSwipe.addEventHandler(window.Code.PhotoSwipe.ActionTypes.swipeLeft, function (e) {
alert('swipe left');
});
但它没有捕捉到事件?
【问题讨论】:
标签: jquery photoswipe