created basic webApplication
This commit is contained in:
9
src/app/boards/boards.component.html
Normal file
9
src/app/boards/boards.component.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<p>Борды работают, это в хтмл!</p>
|
||||
<button (click)="listPosts()">Обновить</button>
|
||||
<div *ngIf="response">
|
||||
<div class="singlePost" *ngFor="let post of response">
|
||||
<p>Айди: {{post.Id}}</p>
|
||||
<p>Текст: {{post.Text}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user