Content component small tweaks

This commit is contained in:
Sercan Yemen 2018-06-10 19:46:33 +03:00
parent 7d6a92fada
commit c2970e34ba
2 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,6 @@
content {
position: relative;
display:flex;
display: flex;
z-index: 1;
flex: 1 0 auto;

View File

@ -19,19 +19,19 @@ export class ContentComponent implements OnInit, OnDestroy
fuseConfig: any;
@HostBinding('@routerTransitionUp')
routeAnimationUp = false;
routeAnimationUp: boolean;
@HostBinding('@routerTransitionDown')
routeAnimationDown = false;
routeAnimationDown: boolean;
@HostBinding('@routerTransitionRight')
routeAnimationRight = false;
routeAnimationRight: boolean;
@HostBinding('@routerTransitionLeft')
routeAnimationLeft = false;
routeAnimationLeft: boolean;
@HostBinding('@routerTransitionFade')
routeAnimationFade = false;
routeAnimationFade: boolean;
// Private
private _unsubscribeAll: Subject<any>;
@ -49,6 +49,13 @@ export class ContentComponent implements OnInit, OnDestroy
private _router: Router
)
{
// Set the defaults
this.routeAnimationUp = false;
this.routeAnimationDown = false;
this.routeAnimationRight = false;
this.routeAnimationLeft = false;
this.routeAnimationFade = false;
// Set the private defaults
this._unsubscribeAll = new Subject();
}