title: How to enable swipe gesture to move to next tab for tabs module in Angular Material? (looking for a solution that works for more than 2 tabs)
body: <p>I am using the tabs component in angular material: <a href="https://material.angular.io/components/component/tabs" rel="noreferrer">https://material.angular.io/components/component/tabs</a></p>
  
  <p>Is there a way to make it such that I can swipe on the content area of the tab to trigger moving to the next tab?</p>
  
  <p>My current template html:</p>
  
  <pre><code>&lt;md-tab-group&gt;
    &lt;md-tab label="Tab 1"&gt;Content 1&lt;/md-tab&gt;
    &lt;md-tab label="Tab 2"&gt;Content 2&lt;/md-tab&gt;
  &lt;/md-tab-group&gt;
  </code></pre>
  
  <p>I have hammerjs imported, and the documentation appears to not mention anything about this even though I could have sworn I've seen something like this before...</p>
  
  <p>Specifically I want to be able to click and drag my mouse towards the left to have it swipe left to the left tab. And click and drag my mouse towards the right to have it swipe right ot the right tab.</p>