---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ISuggestViewLayout.md
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/ISuggestViewLayout.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/jsapi-v2-1/doc/en/llms.txt

# ISuggestViewLayout

Interface for the layout of the search suggestions panel.

[Constructor](#constructor-summary) | [Events](#events-summary)

## Constructor {#constructor-summary}

```javascript
ISuggestViewLayout()
```

### events {#events}

#|
|| **Name** | **Description** ||
||  [hover](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ISuggestViewLayout.md#event-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](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class. Names of fields that are available via the [Event.get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md#get) method: 
- index: Number\|null - Index of an element in the list of search suggestions. ||
|| [select](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ISuggestViewLayout.md#event-select) | Event that occurs when the user selects a suggestion. Instance of the [Event](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class. Names of fields that are available via the [Event.get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md#get) method: 
- item: Object - Object with the "displayName" and "value" fields. ||
|#

## Events details {#event_detail}

### hover {#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](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class. Names of fields that are available via the [Event.get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md#get) method: 
- index: Number|null - Index of an element in the list of search suggestions.

### select {#select}

Event that occurs when the user selects a suggestion. Instance of the [Event](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class. Names of fields that are available via the [Event.get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md#get) method: 
- item: Object - Object with the "displayName" and "value" fields.