Home > widget-integration > InstantSearchController > getActiveInput

InstantSearchController.getActiveInput() method

Get active input element.

Signature:

protected getActiveInput(): HTMLInputElement | null;

Returns:

HTMLInputElement | null

Active input or first input