mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-26 17:10:11 -04:00
23 lines
389 B
TypeScript
23 lines
389 B
TypeScript
import {EventEmitter, Component, Input, Output} from "@angular/core";
|
|
|
|
@Component({
|
|
selector: "search",
|
|
templateUrl: "search.html"
|
|
})
|
|
export class Search {
|
|
@Output()
|
|
onClose = new EventEmitter<CardItem>();
|
|
|
|
@Input()
|
|
item: SearchResult;
|
|
|
|
@Input()
|
|
cardItem: CardItem;
|
|
|
|
constructor() {
|
|
}
|
|
|
|
close() {
|
|
this.onClose.emit(this.cardItem);
|
|
}
|
|
} |