title: How do you delegate events in hammer.js version 2.0?
body: <p>In hammer.js v1.x (with jquery plugin) you could delegate events like this:</p>
  
  <pre><code>$('ul').hammer().on("touch", "li", callback);
  </code></pre>
  
  <p>With this syntax, you could attach the event listener to the <code>ul</code> instead of the individual <code>li</code> elements that you wanted to listen to. This would allow you to dynamically add <code>li</code> elements to the <code>ul</code> without reattaching event listeners.</p>
  
  <p>However I can't figure out how to do it in Hammer v2.0. (I've changed <code>touch</code> to <code>tap</code> per the new syntax).</p>