Socket
Socket
Sign inDemoInstall

ngx-spinner

Package Overview
Dependencies
5
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.0.0 to 13.1.0

animations/ball-8bits.css

5

lib/ngx-spinner.component.d.ts

@@ -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

2

lib/ngx-spinner.enum.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc