ngx-spinner-svc

Angular 8 compatible spinner service, allowing custom html content

Usage no npm install needed!

<script type="module">
  import ngxSpinnerSvc from 'https://cdn.skypack.dev/ngx-spinner-svc';
</script>

README

ngx-spinner-svc

This library was generated with Angular CLI version 8.2.14.

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

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 8 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.