🏡K
Size: a a a
🏡K
DB
А
DB
А
DB
🏡K
DB
L
@Input()
.<child [data]="data$ | async"></child>
*ngIf
'ом, но выглядит немного как костыль, да и досаждает каждый раз это прописывать.<ng-container *ngIf="data async as data">
<child [data]="data">
L
L
🏡K
x$: Observable<string | null>;
x$.pipe(
trimNull()
map(x => x.length)
)
function trimNull() {
return filter(x => !!x);
}
DB
x$: Observable<string | null>;
x$.pipe(
trimNull()
map(x => x.length)
)
function trimNull() {
return filter(x => !!x);
}
DB
DB
L
L
🏡K
SV
x$: Observable<string | null>;
x$.pipe(
trimNull()
map(x => x.length)
)
function trimNull() {
return filter(x => !!x);
}