Interface: SuggestionMenuState
Snapshot of a suggestion menu.
Extended by
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
activeId | readonly | string | null | Id of the highlighted option, or null. |
items | readonly | readonly SuggestionItem[] | The items for the current query. Empty while closed. |
loading | readonly | boolean | An async items call is still running. |
open | readonly | boolean | A trigger match is active and there is at least one item. |
query | readonly | string | What was typed after the trigger character. Empty while closed. |
status | readonly | string | What the status region says, e.g. "3 suggestions". Empty while closed. |