Interface: SuggestionItem
One option in a suggestion menu.
Properties
| Property | Type | Description |
|---|---|---|
command | () => Command | Runs after the typed trigger and query are removed, in the same undo step. |
description? | string | Extra line shown and announced with the option. |
id | string | Unique within the list. |
keywords? | readonly string[] | Extra words filterSuggestions() matches, e.g. ['h1', 'title']. |
label | string | Text shown for the option; filterSuggestions() matches it. |