Adder Global Loading spiner for api calls
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
import { LoaderService } from '../services/loader.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-spinner',
|
||||
templateUrl: './spinner.component.html',
|
||||
styleUrl: './spinner.component.scss',
|
||||
encapsulation: ViewEncapsulation.ShadowDom
|
||||
})
|
||||
export class SpinnerComponent {
|
||||
|
||||
constructor(public loader: LoaderService) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user