Move Duck detail/editor to a separate component
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
10
app/duck-detail.component.html
Normal file
10
app/duck-detail.component.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div *ngIf="duck">
|
||||
<div>
|
||||
<label>id:</label>
|
||||
{{ duck.id }}
|
||||
</div>
|
||||
<div>
|
||||
<label>color:</label>
|
||||
<input [(ngModel)]="duck.color" placeholder="Color">
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user