Home > widget-integration > InstantSearchController > replaceBlock

InstantSearchController.replaceBlock() method

Replace a block in the container.

Signature:

protected replaceBlock(container: Element, htmlDoc: Document, selector: string): void;

Parameters

Parameter

Type

Description

container

Element

Container element

htmlDoc

Document

Parsed HTML document

selector

string

Block selector

Returns:

void