title: Combining multiple events
body: <p>Is there a way to combine multiple events into one custom event in JavaScript without jQuery? For instance, is there a way to turn this:</p>
  
  <pre><code>&lt;li ontouchstart="part1()" ontouchmove="part2()" ontouchend="part3()"&gt;&lt;/li&gt;
  </code></pre>
  
  <p>into this?</p>
  
  <pre><code>&lt;li onswipe="allParts()"&gt;&lt;/li&gt;
  </code></pre>
  
  <p>All I've found is <a href="https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent" rel="nofollow">the CustomEvent API</a>, but I'm not sure how to chain the events together into one event.</p>