Revision 61522
Added by Stefania Martziou over 2 years ago
top-menu.component.html | ||
---|---|---|
57 | 57 |
<div class="uk-navbar-center"> |
58 | 58 |
|
59 | 59 |
<div class="uk-autocomplete uk-form uk-search uk-search-default searchForCountry"> |
60 |
<span id="search-icon" uk-search-icon></span> |
|
60 |
<span id="search-icon-mobile" uk-search-icon></span>
|
|
61 | 61 |
<ng-autocomplete |
62 | 62 |
[data]="countriesCollection" |
63 | 63 |
[searchKeyword]="keyword" |
64 |
placeHolder="Search for a country..."
|
|
64 |
[placeholder]="'Search for a country...'"
|
|
65 | 65 |
(selected)='selectCountryFromAutocompleteEvent($event)' |
66 | 66 |
(inputChanged)='onChangeSearch($event)' |
67 | 67 |
(inputFocused)='onFocused($event)' |
... | ... | |
157 | 157 |
</a> |
158 | 158 |
</div> |
159 | 159 |
|
160 |
<div class="uk-navbar-center"> |
|
161 |
|
|
162 |
<div class="uk-autocomplete uk-form uk-search uk-search-default searchForCountry"> |
|
163 |
<span id="search-icon" uk-search-icon></span> |
|
164 |
<ng-autocomplete |
|
165 |
[data]="countriesCollection" |
|
166 |
[searchKeyword]="keyword" |
|
167 |
[placeholder]="'Search for a country...'" |
|
168 |
(selected)='selectCountryFromAutocompleteEvent($event)' |
|
169 |
(inputChanged)='onChangeSearch($event)' |
|
170 |
(inputFocused)='onFocused($event)' |
|
171 |
historyIdentifier="countriesCollection" |
|
172 |
[itemTemplate]="itemTemplate" |
|
173 |
[notFoundTemplate]="notFoundTemplate"> |
|
174 |
</ng-autocomplete> |
|
175 |
|
|
176 |
<ng-template #itemTemplate let-item> |
|
177 |
<a [innerHTML]="item.name"></a> |
|
178 |
</ng-template> |
|
179 |
|
|
180 |
<ng-template #notFoundTemplate let-notFound> |
|
181 |
<div [innerHTML]="notFound"></div> |
|
182 |
</ng-template> |
|
183 |
</div> |
|
184 |
|
|
185 |
<!--<div class="uk-autocomplete uk-form uk-search uk-search-default searchForCountry" data-uk-autocomplete="{source:'https://getuikit.com/v2/tests/components/_autocomplete.json'}">--> |
|
186 |
<!--<span uk-search-icon></span>--> |
|
187 |
<!--<input class="uk-search-input" type="search" placeholder="Search for a country...">--> |
|
188 |
<!--<!–<input type="text">–>--> |
|
189 |
<!--</div>--> |
|
190 |
|
|
191 |
</div> |
|
192 |
|
|
160 | 193 |
<div class="uk-navbar-right"> |
161 | 194 |
|
162 | 195 |
<ul class="uk-navbar-nav" > |
Also available in: Unified diff
Merging groupings-for-graphs branch