mirror of
https://github.com/DerTyp7/local-analyzer-angular.git
synced 2026-07-31 08:09:03 +02:00
Added Search
This commit is contained in:
13
src/app/search/search.component.html
Normal file
13
src/app/search/search.component.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="search-bar center">
|
||||
<input class="center" type="text" name="searchValue" #searchInput (change)="inputChange(searchInput.value)" placeholder="Search your address" />
|
||||
|
||||
|
||||
<div *ngIf="searchResults && searchResults.length > 0"class="search-results center">
|
||||
<br>
|
||||
<div *ngFor="let result of searchResults">
|
||||
<div class="search-result">
|
||||
<span><b>{{result.properties.name}}</b> {{result.properties.postcode}} {{result.properties.city}} {{result.properties.country}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user