mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-19 06:42:35 +00:00
Content component small tweaks
This commit is contained in:
parent
7d6a92fada
commit
c2970e34ba
@ -19,19 +19,19 @@ export class ContentComponent implements OnInit, OnDestroy
|
|||||||
fuseConfig: any;
|
fuseConfig: any;
|
||||||
|
|
||||||
@HostBinding('@routerTransitionUp')
|
@HostBinding('@routerTransitionUp')
|
||||||
routeAnimationUp = false;
|
routeAnimationUp: boolean;
|
||||||
|
|
||||||
@HostBinding('@routerTransitionDown')
|
@HostBinding('@routerTransitionDown')
|
||||||
routeAnimationDown = false;
|
routeAnimationDown: boolean;
|
||||||
|
|
||||||
@HostBinding('@routerTransitionRight')
|
@HostBinding('@routerTransitionRight')
|
||||||
routeAnimationRight = false;
|
routeAnimationRight: boolean;
|
||||||
|
|
||||||
@HostBinding('@routerTransitionLeft')
|
@HostBinding('@routerTransitionLeft')
|
||||||
routeAnimationLeft = false;
|
routeAnimationLeft: boolean;
|
||||||
|
|
||||||
@HostBinding('@routerTransitionFade')
|
@HostBinding('@routerTransitionFade')
|
||||||
routeAnimationFade = false;
|
routeAnimationFade: boolean;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<any>;
|
||||||
@ -49,6 +49,13 @@ export class ContentComponent implements OnInit, OnDestroy
|
|||||||
private _router: Router
|
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
|
// Set the private defaults
|
||||||
this._unsubscribeAll = new Subject();
|
this._unsubscribeAll = new Subject();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user