I have the following code (simplified in head - not tested)
{{ item.i 3条回答 無奈伤痛 (楼主) 2021-01-14 17:42 Another approach using the SlicePipe: {{ item }} {{ more ? 'less':'more' }} Also, use of instead of in with *ngFor. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Another approach using the SlicePipe:
{{ item }} {{ more ? 'less':'more' }}
Also, use of instead of in with *ngFor.
of
in
*ngFor