1 import { Component, EventEmitter, Input, Output } from '@angular/core';
3 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
7 templateUrl: './modal.component.html',
8 styleUrls: ['./modal.component.scss']
10 export class ModalComponent {
12 modalRef: NgbActiveModal;
15 * Should be a function that is triggered when the modal is hidden.
18 hide = new EventEmitter();
21 this.modalRef?.close();