fuse-angular/src/app/layout/layouts/empty/empty.component.ts
sercan 3a1a7d44b6 Updated RxJS to 7.4.0
Optimized import paths
2021-11-05 11:36:03 +03:00

34 lines
876 B
TypeScript

import { Component, OnDestroy, ViewEncapsulation } from '@angular/core';
import { Subject } from 'rxjs';
@Component({
selector : 'empty-layout',
templateUrl : './empty.component.html',
encapsulation: ViewEncapsulation.None
})
export class EmptyLayoutComponent implements OnDestroy
{
private _unsubscribeAll: Subject<any> = new Subject<any>();
/**
* Constructor
*/
constructor()
{
}
// -----------------------------------------------------------------------------------------------------
// @ Lifecycle hooks
// -----------------------------------------------------------------------------------------------------
/**
* On destroy
*/
ngOnDestroy(): void
{
// Unsubscribe from all subscriptions
this._unsubscribeAll.next(null);
this._unsubscribeAll.complete();
}
}