LinkAndTagInputSuggest.selectSuggestion method
LinkAndTagInputSuggest › selectSuggestion
Inserts the suggestion in place of the trigger, moves the caret after it and dispatches aninput event, so a component listening on the element sees the change.Signature:
selectSuggestion(suggestion: LinkAndTagSuggestion, $event: KeyboardEvent | MouseEvent): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| suggestion | LinkAndTagSuggestion | The suggestion. |
| $event | KeyboardEvent | MouseEvent |
Returns: void