You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
457 B
21 lines
457 B
1 year ago
|
import { Component, EventEmitter, Input, OnInit, Output } from "@angular/core";
|
||
|
|
||
|
@Component({
|
||
|
selector: "app-card-list",
|
||
|
templateUrl: "./card-list.component.html",
|
||
|
styleUrls: ["./card-list.component.scss"],
|
||
|
})
|
||
|
export class CardListComponent implements OnInit {
|
||
|
@Input() title;
|
||
|
@Input() data;
|
||
|
|
||
|
@Output() childEvent = new EventEmitter<any>();
|
||
|
constructor() {}
|
||
|
|
||
|
ngOnInit(): void {}
|
||
|
|
||
|
close() {
|
||
|
this.childEvent.emit("closeCardList");
|
||
|
}
|
||
|
}
|