Using Angular2 ngFor index

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

I have this code:

3条回答
  •  暖寄归人
    2021-02-05 03:11

    Angular does not provide this functionality out of the box. I think that the simplest way to achieve the desired result is to only display data on every third index like so:

    Demo

提交回复
热议问题