mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-03-09 19:12:03 +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
|
||||
{
|
||||
isCreated = false;
|
||||
isCreated: boolean;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@ -20,6 +20,8 @@ export class FuseIfOnDomDirective implements AfterContentChecked
|
||||
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
|
||||
{
|
||||
@HostBinding('class.mat-is-locked-open')
|
||||
isLockedOpen = true;
|
||||
isLockedOpen: boolean;
|
||||
|
||||
@Input('fuseMatSidenavHelper')
|
||||
id: string;
|
||||
@ -39,6 +39,9 @@ export class FuseMatSidenavHelperDirective implements OnInit, OnDestroy
|
||||
private _observableMedia: ObservableMedia
|
||||
)
|
||||
{
|
||||
// Set the defaults
|
||||
this.isLockedOpen = true;
|
||||
|
||||
// Set the private defaults
|
||||
this._unsubscribeAll = new Subject();
|
||||
}
|
||||
|
@ -45,4 +45,5 @@ export class FuseMatchMediaService
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user