summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/intent-based-services/intent-based-services.component.ts
blob: 0017f62433668c6c817fcd140478b899d1de00f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  }

  toCloudPage() {
    this.selectedIndex = 1;
  }
}