I really like the DropZoneJS component, and currently I wrap it with the EmberJS component (here you can see here ). In any case, the shell works fine, but I would like to listen to one of the Dropzone events and analyze the contents of the file (rather than meta-information such as size, lastModified, etc.). The type of file I'm dealing with is an XML file, and I would like to "verify" it before sending it.
How can I do that? I would think that the content would hang with an object filethat you can find on many events, but if I just don’t miss something obvious, it’s not there. :(
source
share