How to 'show more' rows using *ngFor

后端 未结 3 626
轻奢々
轻奢々 2021-01-14 17:27

I have the following code (simplified in head - not tested)

{{ item.i
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-14 17:52

    You can use slicePipe to create a new array containing a subset an array.

    {{ item.id }} {{ item.name }}

提交回复
热议问题