duck-booking-tool-front/app/duck-search.component.html
Gergely Polonkai bfcabd7925 Implement duck search by color
This is a very rough thing. In the final version it should provide
resilts with similar colors.

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-09-09 14:42:31 +02:00

12 lines
322 B
HTML

<div id="search-component">
<h4>Duck search</h4>
<input #searchBox id="search-box" (keyup)="search(searchBox.value)">
<div>
<div *ngFor="let duck of ducks | async"
(click)="gotoDetail(duck)"
class="search-result">
{{ duck.color }}
</div>
</div>
</div>