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>
		
			
				
	
	
		
			12 lines
		
	
	
		
			322 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			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>
 |