ng-http-loader 8.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -2
- package/bundles/ng-http-loader.umd.js +243 -162
- package/bundles/ng-http-loader.umd.js.map +1 -1
- package/esm2015/lib/components/abstract.loader.directive.js +9 -7
- package/esm2015/lib/components/ng-http-loader.component.js +48 -27
- package/esm2015/lib/components/sk-chasing-dots/sk-chasing-dots.component.js +12 -8
- package/esm2015/lib/components/sk-cube-grid/sk-cube-grid.component.js +12 -8
- package/esm2015/lib/components/sk-double-bounce/sk-double-bounce.component.js +12 -8
- package/esm2015/lib/components/sk-rotating-plane/sk-rotating-plane.component.js +12 -8
- package/esm2015/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.js +12 -8
- package/esm2015/lib/components/sk-three-bounce/sk-three-bounce.component.js +12 -8
- package/esm2015/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.js +12 -8
- package/esm2015/lib/components/sk-wave/sk-wave.component.js +12 -8
- package/esm2015/lib/ng-http-loader.module.js +31 -16
- package/esm2015/lib/services/pending-requests-interceptor.service.js +9 -7
- package/esm2015/lib/services/spinner-visibility.service.js +9 -11
- package/fesm2015/ng-http-loader.js +190 -145
- package/fesm2015/ng-http-loader.js.map +1 -1
- package/lib/components/abstract.loader.directive.d.ts +3 -0
- package/lib/components/ng-http-loader.component.d.ts +4 -0
- package/lib/components/sk-chasing-dots/sk-chasing-dots.component.d.ts +3 -0
- package/lib/components/sk-cube-grid/sk-cube-grid.component.d.ts +3 -0
- package/lib/components/sk-double-bounce/sk-double-bounce.component.d.ts +3 -0
- package/lib/components/sk-rotating-plane/sk-rotating-plane.component.d.ts +3 -0
- package/lib/components/sk-spinner-pulse/sk-spinner-pulse.component.d.ts +3 -0
- package/lib/components/sk-three-bounce/sk-three-bounce.component.d.ts +3 -0
- package/lib/components/sk-wandering-cubes/sk-wandering-cubes.component.d.ts +3 -0
- package/lib/components/sk-wave/sk-wave.component.d.ts +3 -0
- package/lib/ng-http-loader.module.d.ts +14 -0
- package/lib/services/pending-requests-interceptor.service.d.ts +3 -0
- package/lib/services/spinner-visibility.service.d.ts +3 -0
- package/ng-http-loader.d.ts +1 -0
- package/package.json +6 -7
- package/CHANGELOG.md +0 -216
- package/bundles/ng-http-loader.umd.min.js +0 -16
- package/bundles/ng-http-loader.umd.min.js.map +0 -1
- package/ng-http-loader.metadata.json +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ng-http-loader
|
|
2
2
|
|
|
3
|
-
[](https://github.com/mpalourdio/ng-http-loader/actions)
|
|
4
4
|
[](https://coveralls.io/github/mpalourdio/ng-http-loader?branch=master)
|
|
5
5
|
[](https://www.npmjs.com/package/ng-http-loader)
|
|
6
6
|
[](https://www.npmjs.com/package/ng-http-loader)
|
|
@@ -37,7 +37,9 @@ The HTTP interceptor listens to all HTTP requests and shows a spinner / loader i
|
|
|
37
37
|
| >=3.2.0 <5.1.0 | ^7.0.0 |
|
|
38
38
|
| >=6.0.0 <7.0.0 | ^8.0.0 |
|
|
39
39
|
| >=7.0.0 <8.0.0 | ^9.0.0 |
|
|
40
|
-
| >=8.0.0
|
|
40
|
+
| >=8.0.0 <9.0.0 | ^10.0.0 |
|
|
41
|
+
| >=9.0.0 | ^11.0.0 |
|
|
42
|
+
| >=10.0.0 | ^12.0.0 |
|
|
41
43
|
|
|
42
44
|
If you experience errors like below, **please double check the version you use.**
|
|
43
45
|
|
|
@@ -90,6 +92,7 @@ You can customize the following parameters:
|
|
|
90
92
|
- The **extra duration** (ie. how many extra milliseconds should the spinner be visible).
|
|
91
93
|
- The **minimum duration** (ie. how many milliseconds should the spinner be visible at least).
|
|
92
94
|
- The spinner **opacity**.
|
|
95
|
+
- The backdrop **background-color** (ie. the color of the spinner backdrop, if enabled).
|
|
93
96
|
- The **spinner type**.
|
|
94
97
|
|
|
95
98
|
```xml
|
|
@@ -100,6 +103,7 @@ You can customize the following parameters:
|
|
|
100
103
|
[extraDuration]="300"
|
|
101
104
|
[minDuration]="300"
|
|
102
105
|
[opacity]=".6"
|
|
106
|
+
[backdropBackgroundColor]="'#777777'"
|
|
103
107
|
[spinner]="spinkit.skWave">
|
|
104
108
|
</ng-http-loader>
|
|
105
109
|
```
|