tpt-spinner
Angular 7 spinner. Its good component for angular spinner where you can use default spinner or you can inject the template through ng-template.
Install
npm:
Install withnpm i tpt-spinner
Basic Usage
Add tag in app component. and import TptSpinnerModule in Root module (appModule)
Inject TptSpinnerManager in where ever you want to toggle spinner
constructor
With width and height
<tpt-spinner [width]="120" [height]="120"></tpt-spinner>
Custom template injuction
<tpt-spinner [width]="120" [height]="120"> <ng-template> <div class="loader"></div> </ng-template></tpt-spinner>
Author
Tirupathi Temburu
License
Copyright (c) 2019 Tirupathi Temburu, contributors.
Released under the MIT license