Home > widget-integration > InstantSearchController > handleInputChange
InstantSearchController.handleInputChange() method
Handle input change event.
**Legacy**: handleSearchInputChange(context, e, input) + searchInputListener() **New**: handleInputChange(e, input) with state management
Signature:
handleInputChange(event: Event, input: HTMLInputElement): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
Event |
Input event |
|
input |
HTMLInputElement |
Input element |
Returns:
void