Home > widget-integration > RecommendationWidgetController > (constructor)

RecommendationWidgetController.(constructor)

Creates an instance of RecommendationWidgetController.

Signature:

constructor(domHelpers: DomHelper, recommendationService: RecommendationService, appService: AppService, customizationCompatibility: CustomizationCompatibility);

Parameters

Parameter

Type

Description

domHelpers

DomHelper

Utility service for DOM manipulation and viewport observation

recommendationService

RecommendationService

Service for fetching recommendation data and templates

appService

AppService

Core application service providing template rendering and configuration

customizationCompatibility

CustomizationCompatibility