QuanticSearchBoxSuggestionsList

The QuanticSearchBoxSuggestionsList is used internally by search box components to display the query suggestions in an omnibox.

Example

<c-quantic-search-box-suggestions-list suggestions={suggestions} onhighlightchange={handleHighlightChange} onsuggestionselected={handleSuggestionSelection}></c-quantic-search-box-suggestions-list>

Properties

Property Attribute Description Type Default

suggestions (required)

suggestions

The query suggestions to display.

Array.<Suggestion>

recentQueries (required)

recent-queries

The list containing the recent query suggestions.

Array.<String>

query (required)

query

The current search query value.

string

maxNumberOfSuggestions

max-number-of-suggestions

The maximum number of suggestions to display.

number

7

Custom Events

The component fires the following custom events:

  • highlightchange

  • suggestionselected

  • quantic__clearrecentqueries

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

53.0

isExposed

false

Associated Use Cases

This component is also relevant in the following use case: