summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts
diff options
context:
space:
mode:
authorHe Keguang <hekeguang@chinamobile.com>2021-09-16 07:29:40 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-16 07:29:40 +0000
commitddf7473db8cdd6a526e23b2ec32412a2bf4275c2 (patch)
tree0427b63350a2ae203324afd972d6587ea1ca0727 /usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts
parent06d98cb853ae5d47d5cbe3d0a1a585194de5aaf9 (diff)
parentc437d5360c75c1af5417c3681235a0f8015a9a85 (diff)
Merge "feat: add intent based service"
Diffstat (limited to 'usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts')
-rw-r--r--usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts b/usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts
new file mode 100644
index 00000000..2d6f59d2
--- /dev/null
+++ b/usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts
@@ -0,0 +1,21 @@
+import { Component, HostBinding, OnInit } from '@angular/core';
+import { slideToRight } from '../../../shared/utils/animates';
+
+@Component({
+ selector: 'app-intent-based-services',
+ templateUrl: './intent-based-services.component.html',
+ styleUrls: ['./intent-based-services.component.less'],
+ animations: [slideToRight]
+})
+export class IntentBasedServicesComponent implements OnInit {
+
+ @HostBinding('@routerAnimate') routerAnimateState;
+ selectedIndex:number = 0;
+ constructor() { }
+
+ ngOnInit() {
+ }
+ handleTabChange($event): void {
+ this.selectedIndex = $event.index;
+ }
+} \ No newline at end of file