Add example of finished app
This commit is contained in:
19
example/app/app.html
Normal file
19
example/app/app.html
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
<div *ngFor="let item of items">
|
||||
{{ item.title }} ({{ item.price }} EUR/KG)
|
||||
<a href
|
||||
style="text-decoration: none"
|
||||
(click)="decreaseQuantity(item); false"> - </a>
|
||||
<input size="1" [(ngModel)]="item.quantity">
|
||||
<a href
|
||||
style="text-decoration: none"
|
||||
(click)="increaseQuantity(item); false"> + </a>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
Kokku: {{ getTotal() }} EUR
|
||||
|
||||
<br /><br />
|
||||
|
||||
<button>Saada tellimus</button>
|
||||
Reference in New Issue
Block a user