Skip to content

LinkPathInputSuggest.selectSuggestion method

LinkPathInputSuggest › selectSuggestion

Replaces the value with the picked link path, moves the caret to its end and dispatches an input event.

Signature:

selectSuggestion(suggestion: LinkPathSuggestion, $event: KeyboardEvent | MouseEvent): void

Parameters:

ParameterTypeDescription
suggestionLinkPathSuggestionThe suggestion.
$eventKeyboardEvent | MouseEvent

Returns: void