Projekt

Obecné

Profil

Stáhnout (553 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
2

    
3
@Component({
4
  selector: 'app-edit-popup',
5
  templateUrl: './unit-popup.component.html',
6
  styleUrls: ['./unit-popup.component.scss']
7
})
8
export class UnitPopupComponent implements OnInit {
9

    
10
  @Input() isVisible;
11
  @Input() unit;
12
  @Output() isVisibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();
13
  constructor() { }
14

    
15
  ngOnInit(): void {
16
  }
17

    
18

    
19
  hidePopup() {
20
    this.isVisibleChange.emit(false);
21
  }
22

    
23
  close() {
24
    this.isVisibleChange.emit(false);
25
  }
26
}
(3-3/3)