mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Content component small tweaks
This commit is contained in:
parent
7d6a92fada
commit
c2970e34ba
|
@ -1,6 +1,6 @@
|
|||
content {
|
||||
position: relative;
|
||||
display:flex;
|
||||
display: flex;
|
||||
z-index: 1;
|
||||
flex: 1 0 auto;
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user