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

Menjadi anggota sejak
Remy_Juanes

Aktiviti Dokumen Terkini

Papar semua aktiviti
Halaman Tarikh Komen

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.