title: Turn.js swipe left and right to turn
body: <p>I am using <code>turn.js</code> in my Ionic2 project, when the user swipes from the left to right or right to the left page need to turn. How to trigger turn when I swipe?</p>
  
  <p>file.ts</p>
  
  <pre><code>ngAfterViewInit() {
      var winWidth = window.innerWidth;
      var winHeight = window.innerHeight;
  
      console.log(winWidth,winHeight);
  
      jQuery("#flipbook").turn({
          width: winWidth,
          height: winHeight,
          display:'single',
          zoom: 0,
          turnCorners: "bl,br,tl,tr,l.r"
      });
  }
  </code></pre>