From 28d98bc8af1735eb6cc29af75a945ec5c871ff53 Mon Sep 17 00:00:00 2001 From: Joshua Terrill Date: Tue, 1 Aug 2017 15:08:21 -0700 Subject: [PATCH] Added onFileDrop() event to documentation In case anyone wants to use the onFileDrop event to handle the files in their own way, I've added it to the documentation. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 351d2c8..9e94668 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Easy to use Angular2 directives for files upload ([demo](http://valor-software.g - `fileOver` - it fires during 'over' and 'out' events for Drop Area; returns `boolean`: `true` if file is over Drop Area, `false` in case of out. See using in [ts demo](https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts) and [html demo](https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.html) + - `onFileDrop` - it fires after a file has been dropped on a Drop Area; you can pass in `$event` to get the list of files that were dropped. i.e. `(onFileDrop)="dropped($event)"` # Troubleshooting