async-pipe Questions

5

I want to pass a value to the child component. this value is an Observable, so I use async pipe. <child [test]="test$ | async"></child> test$ is just a normal observable variable, th...
Torre asked 8/5, 2020 at 14:17

3

Solved

I do an async service call to get a list of elements. public elementList: Array<Element>; ... this.service.getElementList().subscribe( list => { this.elementList = list; this.create...
Galore asked 9/12, 2019 at 12:41
1

© 2022 - 2024 — McMap. All rights reserved.