ISuggestViewLayout

Interface for the layout of the search suggestions panel.

Constructor | Events

Constructor

ISuggestViewLayout()

Events

Name Description
hover
Event that occurs when the user selects a suggestion, either by hovering over the result with the mouse or using the keyboard. Instance of the Event class. Names of fields that are available via the Event.get method:
  • index: Number|null - Index of an element in the list of search suggestions.
select
Event that occurs when the user selects a suggestion. Instance of the Event class. Names of fields that are available via the Event.get method:
  • item: Object - Object with the "displayName" and "value" fields.

Events details

hover

Event that occurs when the user selects a suggestion, either by hovering over the result with the mouse or using the keyboard. Instance of the Event class. Names of fields that are available via the Event.get method:
  • index: Number|null - Index of an element in the list of search suggestions.

select

Event that occurs when the user selects a suggestion. Instance of the Event class. Names of fields that are available via the Event.get method:
  • item: Object - Object with the "displayName" and "value" fields.