Closed oelbaga closed 6 years ago
@oelbaganwg You could do something like this....
$container.swipe({
swipeStatus : function(event, phase, direction, distance, duration){
if(phase === 'move' && direction === 'left'){
$elementToTranslate.css({transform:'translateX(' + distance + 'px)'});
Closing as over a year old. Please feel free to re open if you are still having issues.
I'm using swipe( { swipeStatus:swipe2, allowPageScroll:"vertical"} );
Is there any way to allow the div to slide a little as the user swipes?