From d48290a977016888d377d45e10a62f7f25c0b8fc Mon Sep 17 00:00:00 2001 From: vugar Date: Mon, 11 Nov 2019 10:22:35 +0100 Subject: [PATCH] readme updated 8.1.1 --- projects/file-picker/README.md | 9 +++++---- projects/file-picker/package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/projects/file-picker/README.md b/projects/file-picker/README.md index 42f4f10..1504445 100644 --- a/projects/file-picker/README.md +++ b/projects/file-picker/README.md @@ -29,7 +29,7 @@ Tested on Angular 6/7/8. Supports Server Side Rendering. * [Bonus](#bonus) ## Quick-links -[Example Application](https://ngx-awesome-uploader.stackblitz.io/) +[Example Application](https://ngx-awesome-uploader.stackblitz.io/) or [StackBlitzDemo](https://stackblitz.com/edit/ngx-awesome-uploader?file=src%2Fapp%2Fsimple-demo%2Fsimple-demo.component.ts) ## Install @@ -246,13 +246,14 @@ II) To use custom file preview template, pass your custom template as below: > - +

{{fileItem.file.size}}

{{fileItem.fileName}}

+

{{uploadProgress}}%

``` -In custom template fileItem is exposed (which implements [FilePrevieModel](https://github.com/vugar005/ngx-awesome-uploader/blob/master/projects/file-picker/src/lib/file-preview.model.ts) interface). +In custom template uploadProgress and fileItem (which implements [FilePrevieModel](https://github.com/vugar005/ngx-awesome-uploader/blob/master/projects/file-picker/src/lib/file-preview.model.ts) interface) are exposed . ## Multi Language You can add multi language support for library by providing ***captions*** object (which implements [UploaderCaptions](https://github.com/vugar005/ngx-awesome-uploader/blob/master/projects/file-picker/src/lib/uploader-captions.ts) interface). @@ -265,4 +266,4 @@ You can also check out library [router animations ](https://www.npmjs.com/packag You can fork project from github. Pull requests are kindly accepted. 1. Building library: ng build file-picker 2. Running tests: ng test file-picker -3. Run demo: ng serve \ No newline at end of file +3. Run demo: ng serve diff --git a/projects/file-picker/package.json b/projects/file-picker/package.json index d19d0d0..0030b1c 100644 --- a/projects/file-picker/package.json +++ b/projects/file-picker/package.json @@ -1,6 +1,6 @@ { "name": "ngx-awesome-uploader", - "version": "8.0.3", + "version": "8.1.1", "description": "Angular Library for uploading files with Real-Time Progress bar, File Preview, Drag && Drop and Custom Template with Multi Language support", "peerDependencies": { "@angular/common": "^6.0.0 || ^7.0.0 || ^8.0.0",