Napster2210 / ngx-spinner

A library for loading spinner for Angular 4 - 17.
https://napster2210.github.io/ngx-spinner/
MIT License
819 stars 138 forks source link

Get the status of the spinner in the code (ex: isSpinnerVisible: boolean) #272

Open ricardosobrado opened 8 months ago

ricardosobrado commented 8 months ago

Hi! In my opinion would be a nice feature if this library would allow to check if the spinner is loading (between spinner.show() and spinner.hide() actions). At this point, if I'm not correct is necessary to create an extra variable to monitorize the status. Since is possible to hable multiple spinners in the same component I would suggest a method like spinner.isLoading(spinnerName: string)

What do you think? Thank you in advance!