Closed alexiovay closed 8 years ago
How can I output in which direction I just swiped?
I just figured it out reading "transform" css changes:
JQuery: transformBefore = parseInt($('#swipeWrapper').css('transform').split(',')[4]);
transformBefore = parseInt($('#swipeWrapper').css('transform').split(',')[4]);
How can I output in which direction I just swiped?