14.0.0 • Published 2 years ago

http-spinner v14.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
2 years ago

HttpSpinner

This library is used for displaying loading spinner when http calls begins.

How to use

Registration to module

It is so simple to use, just register HttpSpinnerModule to imports. After that add this: { provide: HTTP_INTERCEPTORS, useClass: InterceptorService, multi: true } to providers and all configuration is done.

Specify place where you want to have a loading spinner

Now the magic will happen. Choose place where you want to have a spinner and that place wrap with this components: <http-spinner> Something like that: <http-spinner><my-custom-components></my-custom-components></http-spinner>

Inputs

The component has 2 inputs: ####customLoading Custom loading is simple bool value by default TRUE. And it activate my custom loading bar. (In future you will define your custom loading svg) If you choose FALSE it will you mat-spinner from angular material library. ####filterBy Filter by is string or array of strings where you can type part of URL's and the spinner will react only to urls which includes your strings. ###Demo Demo is not done yet! If you have a time do it yourself and contact me i will provide it here

14.0.0

2 years ago

13.0.6

2 years ago

13.0.7

2 years ago

13.0.4

2 years ago

13.0.5

2 years ago

13.0.2

2 years ago

13.0.3

2 years ago

13.0.0

2 years ago

13.0.1

2 years ago

12.0.3

2 years ago

12.0.4

2 years ago

12.0.5

2 years ago

12.0.6

2 years ago

12.0.1

2 years ago

12.0.2

2 years ago

12.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago