Home > widget-integration > PredictiveBundleController > renderRecommendationForSearchPage
PredictiveBundleController.renderRecommendationForSearchPage() method
Renders predictive bundles on search and embedded bundle surfaces.
Signature:
renderRecommendationForSearchPage(predictiveBundles: PredictiveBundleData[], blockType: string): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
predictiveBundles |
Bundles returned for the current search context. | |
|
blockType |
string |
Source block type controlling rendering behavior. |
Returns:
Promise<void>