Skip to content

Commit

Permalink
Spike/upgrade to angular 11 (#70)
Browse files Browse the repository at this point in the history
* spike/upgrade-to-angular-11

* spike/upgrade-to-angular-11

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

* onPushChangeDetection

Co-authored-by: Vugar_Abdullayev <[email protected]>
  • Loading branch information
Vugar and Vugar_Abdullayev authored May 14, 2021
1 parent f3223a6 commit 4d270a2
Show file tree
Hide file tree
Showing 17 changed files with 5,988 additions and 6,872 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is an Angular Library for uploading files. It supports: File Upload and Pre



Tested on Angular 6/7/8/9/10. Supports Server Side Rendering.
Tested on Angular 6+. Supports Server Side Rendering.
>**Breaking Changes:** [Check Changes](https://github.com/vugar005/ngx-awesome-uploader/blob/master/breaking-changes-v10.md) changes if you come from version < 10.

Expand Down Expand Up @@ -377,14 +377,15 @@ You can show your files without uploading them

```
public ngOnInit(): void {
this.uploader.files = [
const files = [
{
fileName: 'My File 1 for edit.png'
},
{
fileName: 'My File 2 for edit.xlsx'
}
] as FilePreviewModel[];
this.uploader.setFiles(files);
}
```
## Bonus
Expand All @@ -397,7 +398,7 @@ 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
1. Building library: ng build file-picker --prod

2. Running tests: ng test file-picker --browsers=ChromeHeadless

Expand Down
Loading

0 comments on commit 4d270a2

Please sign in to comment.