Answers for "how to get item index in ngfor angular 8"

1

ngfor index

<ul>
    <li *ngFor="let item of items; index as i">
        {{item}}
    </li>
</ul>
Posted by: Guest on July-02-2020

Browse Popular Code Answers by Language