Closed chandrakanthi07 closed 4 years ago
Hi!
I updated the library to Angular 10, but I think that you get the error for a different reason:
The show
and hide
methods are defined on the service, not on the module. You should import NgxLoadingSpinnerService
where you would like to use it.
Please follow the Setup and Use parts of the readme. NgxLoadingSpinnerModule
will be imported in your main module, and the NgxLoadingSpinnerService
will be used as a dependency of a component or service.
See the example project for a working demo.
If you still get the error, please provide an example source code, where the error is thrown.
Property 'hide' does not exist on type 'NgxLoadingSpinnerModule'. I have installed versions 1.8 and 1.9, both are giving same error. Please help