Hi,
thanks for this great Plugin!
Now I want to execute a function if swipe phase is end.
I tested it with:
$('.card').swipe({
swipe:function(event, phase) {
if (phase == 'right') {
console.log('right');
}
if (phase == 'left') {
console.log('left');
}
if (phase == 'end') {
console.log('end');
}
}
});
But i get only right and left as a console output.
How can I use end?
Cheers
Hi,
thanks for this great Plugin!
Now I want to execute a function if swipe phase is
end.I tested it with:
But i get only
rightandleftas a console output.How can I use end?
Cheers