Skip to content

Interface: SuggestionMenuState ​

Snapshot of a suggestion menu.

Extended by ​

Properties ​

PropertyModifierTypeDescription
activeIdreadonlystring | nullId of the highlighted option, or null.
itemsreadonlyreadonly SuggestionItem[]The items for the current query. Empty while closed.
loadingreadonlybooleanAn async items call is still running.
openreadonlybooleanA trigger match is active and there is at least one item.
queryreadonlystringWhat was typed after the trigger character. Empty while closed.
statusreadonlystringWhat the status region says, e.g. "3 suggestions". Empty while closed.