title: Detect if browser/device supports double click events
body: <p>I have a table containing multiple rows. 
  Each row is selectable by clicking once on the row.
  Double clicking the row opens up the datasheet the row represents in the same window.</p>
  
  <p>When using a mobile device, the double click (double tap?) doesn't trigger my double click event, and the mobile browser just zoom instead. </p>
  
  <p>After giving it some thought, I reckon it makes more sense for mobile devices to open the datasheet with a single click/tap anyway. </p>
  
  <p>Right now I'm detecting if it's a mobile device browser, when setting up the event listener for the table, with this code: </p>
  
  <pre><code>if( /Android|webOS|iPhone|iPad/i.test(navigator.userAgent) ) {
      // Single click event bind, open
  } else {
      // Single click event bind, select
      // Double click event bind, open
  }
  </code></pre>
  
  <p>Instead of relying on the user agent, I woud much rather do some feature detection, so any device unable to make a double click works. </p>
  
  <p>I tried detecting if the dblclick event is available on my Android device, and it is.<br>
  I guess this makes sense, since the browser does support it, but the device just triggers a different event when double tapping.</p>
  
  <p>The only other thing I could come up with is checking if the <code>touchstart</code> etc. events are available, but that seems about as wrong as checking the user agent. </p>
  
  <p>Is there any good way to detect if the browser / client supports double clicks as expected?  </p>