Angular 5 display *ngfor horizontally

前端 未结 3 1177
后悔当初
后悔当初 2021-01-16 07:36

i\'m building my first angular app using latest version and i need some help to display some informations in a specific position.

app.component.ts:

3条回答
  •  甜味超标
    2021-01-16 08:18

    I don't know if you still need this, but just wrap your ngFor in a row div.

    {{item?.name}}

    Here's an example of what that might look like.

提交回复
热议问题