-1
子コンポーネントから親コンポーネントにオブジェクトデータを渡したいとします。子コンポーネントから親コンポーネントへのデータの処理方法
<section class="grey_bg">
<app-search></app-search>
<table>
<tbody>
<tr *ngFor="let contest of contests">
<td>{{contest.contest_date}}</td>
<td>{{contest.prize_pool}}</td>
<td>{{contest.points}}</td>
<td>${{contest.entry_fee}}</td>
</tr>
</tbody>
</table>
親と子のコンポーネント間で情報を共有するためのコンテストのデータを持っている
this.authService.getUserContests().subscribe(
contests => {
this.contests = contests.data
}
情報が不完全です。あなたはこれまで何をしていますか? –