Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Remy_Juanes

Member since
Remy_Juanes

Recent Docs Activity

View all activity
Page Date Comment

DragEvent


Sorry, I was wrong after few tests.

DragEvent


'event.classList.contains("dropzone") === true' is more sure than 'event.ClassName == "dropzone"' especially if you're using a JS framework or a library.