Updated: add tokes desc to readme #8
This commit is contained in:
@@ -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)
|
- `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
|
### 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.
|
- `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.
|
||||||
|
|||||||
@@ -34,7 +34,12 @@ import {FileSelect, FileDrop, FileUploader} from 'ng2-file-upload';
|
|||||||
### Properties
|
### 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)
|
- `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
|
## FileDrop API
|
||||||
|
|
||||||
### Properties
|
### Properties
|
||||||
|
|||||||
Reference in New Issue
Block a user