title: Feature Detection for setDragImage of HTML5 Drag and Drop
body: <p>Is there a way to do feature detection for <strong>setDragImage</strong> of HTML5 Drag and Drop (in JavaScript or Dart)?</p>
  
  <p>I do the general HTML5 Drag and Drop feature detection with the following (from <a href="http://diveintohtml5.info/everything.html#dnd" rel="noreferrer">guide to detecting everything</a>):</p>
  
  <pre class="lang-javascript prettyprint-override"><code>return 'draggable' in document.createElement('span');
  </code></pre>
  
  <p>This will return <code>true</code> for Chrome, Firefox, etc., and IE10. It will return <code>false</code> for IE9. </p>
  
  <p>Now, the problem is with <strong>IE10</strong>: While it supports most of HTML5 Drag and Drop, <code>setDragImage</code> is not supported and I need to provide a polyfill just for <code>setDragImage</code>. But I couldn't figure out a way how to detect this.</p>