mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-21 05:17:08 +00:00
30 lines
703 B
TypeScript
30 lines
703 B
TypeScript
import { Component, ViewEncapsulation } from '@angular/core';
|
|
import { fuseAnimations } from '@fuse/animations';
|
|
import { AuthService } from 'app/core/auth/auth.service';
|
|
import { Router } from '@angular/router';
|
|
|
|
@Component({
|
|
selector : 'sign-out-classic',
|
|
templateUrl : './sign-out.component.html',
|
|
encapsulation: ViewEncapsulation.None,
|
|
animations : fuseAnimations
|
|
})
|
|
export class SignOutClassicComponent
|
|
{
|
|
countdown: number = 5;
|
|
countdownMapping: any = {
|
|
'=1' : '# second',
|
|
'other': '# seconds'
|
|
};
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
constructor(
|
|
private _authService: AuthService,
|
|
private _router: Router
|
|
)
|
|
{
|
|
}
|
|
}
|