Add class when file is invalid #491

Open
opened 2016-11-15 10:03:30 +00:00 by MR62 · 2 comments
MR62 commented 2016-11-15 10:03:30 +00:00 (Migrated from github.com)

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

Hi, In ng2FileDrop When we used "accept", how can add class? I want check file is valid or invalid in "fileOver" event.
dannyk08 commented 2016-12-06 17:30:06 +00:00 (Migrated from github.com)

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

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 2017-02-21 10:04:35 +00:00 (Migrated from github.com)

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

this.uploader.queue[0].file.type
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#491