mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-10-31 19:13:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			872 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			872 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();
 | |
|         this._unsubscribeAll.complete();
 | |
|     }
 | |
| }
 |