Files
WinStudentGoalTracker/ui/winstudentgoaltracker/src/app/desktop/components/modal-shell/modal-shell.ts
T
2026-04-08 13:36:23 -07:00

20 lines
405 B
TypeScript

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();
}
}