ngx-spinner-svc
Version:
Angular 19 compatible spinner service, allowing custom html content
34 lines (18 loc) • 1.5 kB
Markdown
# NgxSpinnerSvc
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.6
## Code scaffolding
Run `ng generate component component-name --project ngx-spinner-svc` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-spinner-svc`.
> Note: Don't forget to add `--project ngx-spinner-svc` or else it will be added to the default project in your `angular.json` file.
## Build
Run `ng build ngx-spinner-svc` to build the project. The build artifacts will be stored in the `dist/` directory.
## Publishing
After building your library with `ng build ngx-spinner-svc`, go to the dist folder `cd dist/ngx-spinner-svc` and run `npm publish`.
## Running unit tests
Run `ng test ngx-spinner-svc` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
> ## NOTICE
`@redevill/ngx-spinner-svc` this fork is adapted from @Chevtek/angular-spinners, and is intended to resolve the ngModule error, that claims there are functions specified in the ngModule Attribute.
With the rebuild under angular 16 this appears to be again working. A pull request can be organized to upgrade the original library, and will be provided upon request.
### Reference
Please refer to parent of this fork for documentation.