Home > widget-integration > InstantSearchController > initWithContext
InstantSearchController.initWithContext() method
Initialize controller with full context.
**Legacy**: initInstantSearchWidget(context) + initInstantSearchWidgetEvents(context) **New**: initWithContext(searchSettings) with proper typing
Signature:
initWithContext(searchSettings: SearchSettings$1): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
searchSettings |
Search settings |
Returns:
Promise<void>