Skip to content

SuggestionContainer.getSelectedElement method

SuggestionContainer › getSelectedElement

Unofficial

Get the DOM element of the currently selected suggestion.

Signature:

getSelectedElement(): HTMLElement | null

Returns: HTMLElement | nullThe selected element, or null.