diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-09 09:41:09 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-09 09:41:18 +0800 |
commit | ccd0ef2a8034cc1901d993f895951fde464dd471 (patch) | |
tree | b4836d46b2f7b12bf4bcf4d5fb19cbad17a426d4 /usecaseui-portal/src | |
parent | 56c11ebfcb986fb634f0b35104c5dabcd90a7aaa (diff) |
feat: Added routing transition animation for slicing mgt
Change-Id: I7aa51e27c755ccd1c2337dffdfe397a21f6fa64c
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.ts index 4b33db12..e2ca18e2 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-management.component.ts @@ -1,12 +1,16 @@ -import { Component, OnInit } from '@angular/core'; +import { Component, OnInit, HostBinding } from '@angular/core'; +import { slideToRight } from '../../../shared/utils/animates'; @Component({ selector: 'app-slicing-management', templateUrl: './slicing-management.component.html', - styleUrls: ['./slicing-management.component.less'] + styleUrls: ['./slicing-management.component.less'], + animations: [slideToRight] }) export class SlicingManagementComponent implements OnInit { + @HostBinding('@routerAnimate') routerAnimateState; + constructor() { } ngOnInit() { |