summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/management/management.component.ts
blob: 7345e7a3368c441b1603dc33dec105852c5364ef (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
28
29
30
31
32
33
34
import { Component, OnInit , HostBinding} from '@angular/core';
import { showHideAnimate, slideToRight } from '../animates';

@Component({
  selector: 'app-management',
  templateUrl: './management.component.html',
  styleUrls: ['./management.component.less'],
  animations: [
    showHideAnimate, slideToRight
  ]
})
export class ManagementComponent implements OnInit {
  @HostBinding('@routerAnimate') routerAnimateState; //Routing animation

  constructor() { }

  ngOnInit() {
  }

  show = "show";
  hide = "hide";
  custerhide = false;
  customershow(){
    this.show = "show";
    this.hide = "hide";
    this.custerhide = true;
  }
  customerhide(){
    this.show = "hide";
    this.hide = "show";
    this.custerhide = false;
  }

}