0
如何捕獲photoswipe中的刷卡事件?Photoswipe捕獲刷卡事件
我嘗試以下...
var pSwipe = window.Code.PhotoSwipe.attach($(arrGallery), options);
pSwipe.show(0);
pSwipe.addEventHandler(window.Code.PhotoSwipe.ActionTypes.swipeLeft, function (e) {
alert('swipe left');
});
但它不會趕上事件?