ngx-spinner
Advanced tools
Comparing version 13.0.0 to 13.1.0
@@ -108,3 +108,5 @@ import { OnDestroy, OnInit, OnChanges, SimpleChange, ChangeDetectorRef, ElementRef } from '@angular/core'; | ||
*/ | ||
spinnerDOM: any; | ||
spinnerDOM: { | ||
nativeElement: any; | ||
}; | ||
handleKeyboardEvent(event: KeyboardEvent): void; | ||
@@ -117,2 +119,3 @@ /** | ||
constructor(spinnerService: NgxSpinnerService, changeDetector: ChangeDetectorRef, elementRef: ElementRef); | ||
initObservable(): void; | ||
/** | ||
@@ -119,0 +122,0 @@ * Initialization method |
@@ -59,3 +59,2 @@ export declare const LOADERS: { | ||
SPINNER_COLOR: string; | ||
SPINNER_TYPE: string; | ||
Z_INDEX: number; | ||
@@ -90,2 +89,3 @@ }; | ||
constructor(init?: Partial<NgxSpinner>); | ||
static create(init?: Partial<NgxSpinner>): NgxSpinner; | ||
} |
{ | ||
"name": "ngx-spinner", | ||
"version": "13.0.0", | ||
"version": "13.1.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -25,2 +25,3 @@ A library with more than 50 different loading spinners for Angular 4 - 13. (https://napster2210.github.io/ngx-spinner/) | ||
- Bug Fixes/Improvements | ||
- Reduce bundle size | ||
@@ -119,3 +120,13 @@ Use appropriate version based on your Angular version. | ||
## Usage | ||
Add css animation files to angular.json config | ||
```jsonc | ||
{ | ||
"styles": [ | ||
"node_modules/ngx-spinner/animations/ball-scale-multiple.css" | ||
// You're able to add multiple files if you need | ||
] | ||
} | ||
``` | ||
Import `NgxSpinnerModule` in in the root module(`AppModule`): | ||
@@ -161,3 +172,3 @@ | ||
```html | ||
<ngx-spinner></ngx-spinner> | ||
<ngx-spinner [type]="ball-scale-multiple"></ngx-spinner> | ||
``` | ||
@@ -181,3 +192,3 @@ | ||
- **[type]**: Choose any animation spinner from [Load Awesome](http://github.danielcardoso.net/load-awesome/animations.html). | ||
To set type of spinner, default `ball-scale-multiple` | ||
To set type of spinner | ||
- **[fullScreen]**: `true` or `false` | ||
@@ -269,3 +280,2 @@ To enable/disable fullscreen mode(overlay), default `true` | ||
- Smaller bundle | ||
- Interceptor Implementation | ||
@@ -272,0 +282,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
73
12484
291
0
426654