SuggestionContainer.useSelectedItem method
SuggestionContainer › useSelectedItem
Unofficial
Use currently selected suggestion as the accepted one.Signature:
useSelectedItem(event: Event): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| event | Event | The triggering event. |
Returns: boolean — Whether a suggestion was accepted.