Wipe Gestures for Imageflow with WipeTouch

Jun 23, 2011 at 12:05 PM

Maybe interesting for others.

WipeTouch is great for giving support of wipe events to Imageflow JS Image Gallery.

First initialize ImageFlow:

imageflow.init({
    ImageFlowID: 'ImageFlow'
  });

Then send captured gestures to Imageflow
 $('.imageflow').wipetouch({
      wipeLeft: function(result) { imageflow.MouseWheel.handle(-1); },
      wipeRight: function(result) { imageflow.MouseWheel.handle(1); }
  });

Coordinator
Jun 24, 2011 at 3:49 PM

Thanks for the code sharing! I'm adding this to the docs and will be available with the next version soon.

Cheers!