Home > widget-integration > RecommendationModel > (constructor)
RecommendationModel.(constructor)
Creates a new RecommendationModel instance with the provided properties.
Signature:
constructor(properties: RecommendationModelProperties);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
properties |
Complete configuration and data for the recommendation widget, including widget metadata, recommendation type, page context, products, and optional design settings. See RecommendationModelProperties for detailed property descriptions. |