Home > widget-integration > InstantSearchController > updateSelection

InstantSearchController.updateSelection() method

Update selection state and UI.

Signature:

protected updateSelection(items: HTMLElement[], input: HTMLInputElement): void;

Parameters

Parameter

Type

Description

items

HTMLElement[]

Suggestion items

input

HTMLInputElement

Input element

Returns:

void