Merge pull request #857 from joshterrill/development

Added onFileDrop() event to documentation
This commit was merged in pull request #857.
This commit is contained in:
Adrian Fâciu
2017-10-02 17:50:35 +03:00
committed by GitHub

View File

@@ -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