Using Angular2 ngFor index

后端 未结 3 637
再見小時候
再見小時候 2021-02-05 02:52

I have this code:

3条回答
  •  感情败类
    2021-02-05 03:08

    Thanks Teddy Sterne for his answer.

    Here's how it helped me to create a calendar control having 7 cells in a row

    {{data[x]}}

    DEMO

    https://stackblitz.com/edit/angular-1nhor2?embed=1&file=src/app/app.component.html

提交回复
热议问题