2.0.0 • Published 5 years ago

tpt-spinner v2.0.0

Weekly downloads
52
License
-
Repository
github
Last release
5 years ago

tpt-spinner NPM version

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

Install with npm:

npm 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(private spinnerManager: TptSpinnerManager) { }
this.spinnerManager.show();
this.spinnerManager.hide();

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


2.0.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

5 years ago