codecomputerlove/PhotoSwipe — Issue #286: Ability to replace/restore already bound swipe events
Author: scampiuk
Created: 2012-03-03 14:41:14+00:00
State: open

Hi,

We're using this for an app where we already have events bound on swiperight (for a mobile app). When viewing the gallery, our events are being triggered ( as I would expect ).

The ideal for us would be able to bind to an event when an image is tapped, so we can unbind our function, and then another event when phoneswipe is closed (or the image is closed) so I can re-bind my events.

I see the Util.TouchElement.ActionTypes 's and I know I can bind to those, but nothing that I can see for the first opening of an image.

We're on PS 3.0.4 , JQuery 1.7.1 and JqueryMobile 1.1.0-rc1 , It would be a great help if you could point me in the right direction for this.

Cheers,

Chris -.