contraindications + various fixesÃ
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import {Component, EventEmitter, HostListener, OnInit, Output} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-contraindications-modal',
|
||||
templateUrl: './contraindications-modal.component.html',
|
||||
styleUrls: ['./contraindications-modal.component.scss']
|
||||
})
|
||||
export class ContraindicationsModalComponent implements OnInit {
|
||||
|
||||
@Output() onClose: EventEmitter<void> = new EventEmitter();
|
||||
|
||||
@HostListener('document:keydown.escape', ['$event']) onKeydownHandler(event: KeyboardEvent) {
|
||||
this.onClose.emit();
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user