1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-22 05:10:01 +02:00

Search autocomplete suggestion on click

This commit is contained in:
Torbjörn Svangård 2021-04-02 20:31:40 +02:00
parent 867fd3c070
commit 137d841cde

View File

@ -36,7 +36,7 @@
<div class="autocomplete-item"
[ngClass]="{'autocomplete-item-selected':highlightedAutoCompleteItem == i}"
(mouseover)="setMouseOverAutoCompleteItem(i)"
(click)="applyAutoComplete(item)"
(click)="searchAutoComplete(item)"
*ngFor="let item of autoCompleteRenders; let i = index">
<div>
<span [ngSwitch]="item.type">