Typing suggestions
Notice the placeholder in the searchbox. It loads popular phrases from the Trending queries API.
Typing suggestions work for all built-in layouts.
<script>
function LBInitAutocomplete() {
AutoComplete({
Layout: 'heromobile',
TrackerId: '179075-204259',
Locale: 'en',
TypingSuggestions: true,
Translations: {
en: {
types: {
item: {
name: "Products",
heroName: "Top product"
},
query: {
name: "Searches"
},
category: {
name: "Categories"
}
}
}
},
Types: [
{
type: 'product',
size: 7
},
{
type: 'query'
},
{
type: 'category'
}
]
}, '#q')
}
</script>
<script src="https://cdn.luigisbox.com/autocomplete.js" async onload="LBInitAutocomplete()"></script>