docs/odo-on-swipe/scripts/demo.js
function swiped(event) {
    console.log(event);
    event.currentTarget.querySelector('span').textContent = 'Swiped ' + event.direction;
  }
function swiped(event) {
    console.log(event);
    event.currentTarget.querySelector('span').textContent = 'Swiped ' + event.direction;
  }
function swiped ( event ) { console . log ( event ) ; event . currentTarget . querySelector ( 'span' ) . textContent = 'Swiped ' + event . direction ; }
On Swipe handler.
@param {PointerEvent} event Pointer event object.
On Swipe handler .