mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 01:19:52 -04:00
26 lines
393 B
TypeScript
26 lines
393 B
TypeScript
import { EventEmitter, Component, Input, Output } from "@angular/core";
|
|
|
|
@Component({
|
|
selector: "error",
|
|
templateUrl: "error.html"
|
|
})
|
|
export class Error
|
|
{
|
|
@Output()
|
|
onClose = new EventEmitter<CardItem>();
|
|
|
|
@Input()
|
|
item: string;
|
|
|
|
@Input()
|
|
cardItem: CardItem;
|
|
|
|
constructor()
|
|
{
|
|
}
|
|
|
|
close()
|
|
{
|
|
this.onClose.emit(this.cardItem);
|
|
}
|
|
} |