Answers for "angular observer if not length"

0

angular observer if not length

<div>
    Length: {{(list$ | async)?.length}}
    <div *ngIf="(list$ | async)?.length>0">
        <ul>
            <li *ngFor="let item of (list$ | async)">
                {{item.firstName}}
            </li>
        </ul>
    </div>
</div>
Posted by: Guest on June-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language