Updated: auth token support & small TS fix #8 #9

Merged
buchslava merged 4 commits from feature-auth-token-support into master 2015-12-03 13:15:56 +00:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit 590a18243b - Show all commits

View File

@@ -27,6 +27,11 @@ Easy to use Angular2 directives for files upload ([demo](http://valor-software.g
- `uploader` - (`FileUploader`) - uploader object. See using in [demo](https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts)
Parameters that supported by this object:
1. `url` - URL of File Uploader's route
2. `authToken` - Auth token that will be applied as 'Authorization' header during file send.
### Events
- `file-over` - it fires during 'over' and 'out' events for Drop Area; returns `boolean`: `true` if file is over Drop Area, `false` in case of out.

View File

@@ -34,7 +34,12 @@ import {FileSelect, FileDrop, FileUploader} from 'ng2-file-upload';
### Properties
- `uploader` - (`FileUploader`) - uploader object. See using in [demo](https://github.com/valor-software/ng2-file-upload/blob/master/demo/components/file-upload/simple-demo.ts)
Parameters that supported by this object:
1. `url` - URL of File Uploader's route
2. `authToken` - auth token that will be applied as 'Authorization' header during file send.
## FileDrop API
### Properties