Answer the question
In order to leave comments, you need to log in
How to break ul li ngFor render in Angular2?
Please remind me how to split ul li ngFor render in Angular2?
Render this json
{
"id" :"one",
"title" :"one title",
"autos" : [
"E92",
"E30",
"E46",
"E36"
]
}
<div *ngIf="selectedBlock">
<img src="{{selectedBlock.image}}"/>
<h2>{{selectedBlock.title}}</h2>
<h3>Autos</h3>
<ul class="autos">
<li>{{selectedBlock.autos}}</li>
</ul>
</div>
E92, E30, E46, E36
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question