Skip to content

Commit 707d9ca

Browse files
fix: add FngFirebaseAuthLoadingComponent
1 parent 3d0e5ae commit 707d9ca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Component, ChangeDetectionStrategy } from '@angular/core'
2+
3+
// tslint:disable-next-line:no-class
4+
@Component({
5+
selector: 'fng-auth-loading-container',
6+
styles: [
7+
':host{position:absolute;top:0;bottom:0;right:0;left:0;display:flex;justify-content:center;align-items:center;display:none}:host .transc{color:white;z-index:100;position:inherit;display:flex;justify-content:center;width:100%;height:100%;align-items:center}:host .auth-spin-overlay{z-index:99;background-color:white;height:100%;width:100%;position:inherit;animation:fadeIn .2s linear;opacity:1}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}'
8+
],
9+
template: `<div class="transc"><ng-content></ng-content></div><div class="auth-spin-overlay"></div>`,
10+
changeDetection: ChangeDetectionStrategy.OnPush
11+
})
12+
export class FngFirebaseAuthLoadingComponent {}

0 commit comments

Comments
 (0)