mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 15:47:35 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Component, input, output } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-modal-shell',
|
||||
templateUrl: './modal-shell.html',
|
||||
styleUrl: './modal-shell.scss',
|
||||
})
|
||||
export class ModalShell {
|
||||
readonly title = input.required<string>();
|
||||
readonly closed = output<void>();
|
||||
|
||||
onOverlayClick() {
|
||||
this.closed.emit();
|
||||
}
|
||||
|
||||
onClose() {
|
||||
this.closed.emit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user