valor-software / ng2-file-upload

Easy to use Angular components for files upload
http://valor-software.github.io/ng2-file-upload/
MIT License
1.91k stars 662 forks source link

Add class when file is invalid #491

Open MR62 opened 8 years ago

MR62 commented 8 years ago

Hi, In ng2FileDrop When we used "accept", how can add class? I want check file is valid or invalid in "fileOver" event.

dannyk08 commented 7 years ago

Same boat here I don't know the source code that well but I need a way to validate the users loading files into the directive please post a link if you have a snippet/example to share

aviforgit commented 7 years ago

this.uploader.queue[0].file.type