How do I catch the swipe type with jQuery?
<p>I have these lines of code in jQuery and I need to catch the name of the swype type in a string.</p>

<pre><code>$('.client-content').on('swipeleft swiperight', function(){

        var curActiveClient = $('.clients-belt').find('.active-client'),
            position = $('.clients-belt').children().index(curActiveClient),
            clientNum = $('.client-unit').length;

        if (event === 'swipeleft') {

            //do something

        } else if (event === 'swiperight') {

            //do something else

        }
</code></pre>