-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow to display a custom image along each row #208
Comments
Using Look at https://tarekraafat.github.io/autoComplete.js/#/configuration?id=resultitem-optional Here's the HTML generated by https://tarekraafat.github.io/autoComplete.js/demo/ for example <ul id="autoComplete_list" class="autoComplete_list" role="listbox">
<li id="undefined_0" class="autoComplete_result" role="option"
style="display: flex; justify-content: space-between;">
<span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
<span class="autoComplete_highlighted">Beer</span> - True North Strong Ale
</span>
<span
style="display: flex; align-items: center; font-size: 13px; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);">
food
</span>
</li>
<li id="undefined_1" class="autoComplete_result" role="option"
style="display: flex; justify-content: space-between;">
<span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
<span class="autoComplete_highlighted">Beer</span> - Paulaner Hefeweisse
</span>
<span
style="display: flex; align-items: center; font-size: 13px; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);">
food
</span>
</li>
<li id="undefined_2" class="autoComplete_result" role="option"
style="display: flex; justify-content: space-between;">
<span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
<span class="autoComplete_highlighted">Beer</span> - Labatt Blue
</span>
<span
style="display: flex; align-items: center; font-size: 13px; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);">
food
</span>
</li>
<li id="undefined_3" class="autoComplete_result" role="option"
style="display: flex; justify-content: space-between;">
<span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
<span class="autoComplete_highlighted">Beer</span> - Mill St Organic
</span>
<span
style="display: flex; align-items: center; font-size: 13px; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);">
food
</span>
</li>
<li id="undefined_4" class="autoComplete_result" role="option"
style="display: flex; justify-content: space-between;">
<span style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">
<span class="autoComplete_highlighted">Beer</span> - Sleemans Honey Brown
</span>
<span
style="display: flex; align-items: center; font-size: 13px; font-weight: 100; text-transform: uppercase; color: rgba(0,0,0,.2);">
food
</span>
</li>
</ul>
|
I'll give it a try!!!! Thanks |
options can be...
image, svg, gif, etc
and allow to modify the way it is formatted by css
Thanks and #StaySafe
The text was updated successfully, but these errors were encountered: