Home > widget-integration > InstantSearchController > replaceHTML
InstantSearchController.replaceHTML() method
Replace HTML in ISW container.
**Legacy**: replaceHTML(context, htmlString) **New**: replaceHTML(htmlString) method
Signature:
protected replaceHTML(htmlString: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
htmlString |
string |
HTML to inject |
Returns:
void