Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rspl-yuvraj committed Mar 9, 2020
1 parent a5cc71d commit b117a21
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"jasminewd",
"ngcc",
"packagr",
"rgba",
"tsickle"
]
}
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"options": {
"tsConfig": "projects/ngx-spinner/tsconfig.lib.json",
"project": "projects/ngx-spinner/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/ngx-spinner/tsconfig.lib.prod.json"
}
}
},
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand Down Expand Up @@ -177,4 +177,4 @@
}
},
"defaultProject": "ngx-spinner"
}
}
5 changes: 4 additions & 1 deletion projects/ngx-spinner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"angular6",
"angular7",
"angular8",
"angular9",
"loading-spinner",
"loading",
"loading-animations",
Expand All @@ -31,12 +32,14 @@
"ng6",
"ng7",
"ng8",
"ng9",
"loadingscreen",
"progress",
"progress-loader",
"progress-indicators",
"progress-circle",
"loaders"
"loaders",
"ivy"
],
"license": "MIT",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-tester/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h3>Configuration</h3>
</mat-form-field>
<mat-form-field>
<input matInput placeholder="Backdrop Color" [(colorPicker)]="spinnerConfig['bdColor']" [cpCancelButton]="true"
[(ngModel)]="spinnerConfig['bdColor']" [cpPosition]="'bottom'">
[(ngModel)]="spinnerConfig['bdColor']" [cpPosition]="'bottom'" [cpOutputFormat]="'rgba'">
</mat-form-field>
<mat-radio-group [(ngModel)]="spinnerConfig['size']" [style.paddingBottom.px]="20">
<label class="mat-input-placeholder mat-form-field-placeholder label-text">Spinner Size</label>
Expand Down
5 changes: 2 additions & 3 deletions projects/ngx-tester/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ export class AppComponent {
* @memberof AppComponent
*/
spinnerConfig: object = {
bdOpacity: 0.9,
bdColor: '#333',
bdColor: 'rgba(0, 0, 0, 1)',
size: 'medium',
color: '#fff',
type: 'ball-8bits',
fullScreen: true,
template: '<img src="http://pa1.narvii.com/5722/2c617cd9674417d272084884b61e4bb7dd5f0b15_hq.gif" />',
template: '<img src="https://media.giphy.com/media/o8igknyuKs6aY/giphy.gif" />',
};

/**
Expand Down

0 comments on commit b117a21

Please sign in to comment.