mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 09:23:35 +00:00 
			
		
		
		
	Improving the codebase
This commit is contained in:
		
							parent
							
								
									5d000a849d
								
							
						
					
					
						commit
						27197a55dc
					
				@ -5,7 +5,7 @@ import { AfterContentChecked, Directive, ElementRef, TemplateRef, ViewContainerR
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
export class FuseIfOnDomDirective implements AfterContentChecked
 | 
					export class FuseIfOnDomDirective implements AfterContentChecked
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    isCreated = false;
 | 
					    isCreated: boolean;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Constructor
 | 
					     * Constructor
 | 
				
			||||||
@ -20,6 +20,8 @@ export class FuseIfOnDomDirective implements AfterContentChecked
 | 
				
			|||||||
        private _viewContainerRef: ViewContainerRef
 | 
					        private _viewContainerRef: ViewContainerRef
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        // Set the defaults
 | 
				
			||||||
 | 
					        this.isCreated = false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // -----------------------------------------------------------------------------------------------------
 | 
					    // -----------------------------------------------------------------------------------------------------
 | 
				
			||||||
 | 
				
			|||||||
@ -13,7 +13,7 @@ import { FuseMatSidenavHelperService } from '@fuse/directives/fuse-mat-sidenav/f
 | 
				
			|||||||
export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy
 | 
					export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    @HostBinding('class.mat-is-locked-open')
 | 
					    @HostBinding('class.mat-is-locked-open')
 | 
				
			||||||
    isLockedOpen = true;
 | 
					    isLockedOpen: boolean;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Input('fuseMatSidenavHelper')
 | 
					    @Input('fuseMatSidenavHelper')
 | 
				
			||||||
    id: string;
 | 
					    id: string;
 | 
				
			||||||
@ -39,6 +39,9 @@ export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy
 | 
				
			|||||||
        private _observableMedia: ObservableMedia
 | 
					        private _observableMedia: ObservableMedia
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        // Set the defaults
 | 
				
			||||||
 | 
					        this.isLockedOpen = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Set the private defaults
 | 
					        // Set the private defaults
 | 
				
			||||||
        this._unsubscribeAll = new Subject();
 | 
					        this._unsubscribeAll = new Subject();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -45,4 +45,5 @@ export class FuseMatchMediaService
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user