summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts
blob: 9038f05afd0fc3b950faba17513459c979d88718 (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
27
import { Component, OnInit, HostBinding } from '@angular/core';
import { slideToRight } from '../../../shared/utils/animates';

@Component({
  selector: 'app-sotn-management',
  templateUrl: './sotn-management.component.html',
  styleUrls: ['./sotn-management.component.less'],
  animations: [slideToRight]
})
export class SotnManagementComponent implements OnInit {

  @HostBinding('@routerAnimate') routerAnimateState;
  selectedIndex:number = 0;

  constructor() { }

  ngOnInit() {
  }
  
  handleTabChange($event): void {
    this.selectedIndex = $event.index;
  }

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