I\'m using the html5 events to enable both file and element drag-and-drop. I\'ve attached the dragover event to the body and am using event delegations to show where a dragg
I just use this to detect files in dragover event:
dragover
Array.prototype.indexOf.call(files, "Files")!=-1 // true if files