Home > widget-integration > RecommendationWidgetController > (constructor)

RecommendationWidgetController.(constructor)

Creates an instance of RecommendationWidgetController.

Signature:

constructor(domHelpers: DomHelper, recommendationService: RecommendationService, appService: AppService, recommendationBundleHelper: RecommendationBundleHelper, customizationCompatibility: CustomizationCompatibility, dtoHelper: DTOHelper, cartController: CartController, quickviewController: QuickViewController, quickAddToCartController: QuickAddToCartController, productController: ProductController, slickHelper: SlickHelper, tooltipHelper: TooltipHelper);

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

recommendationBundleHelper

RecommendationBundleHelper

customizationCompatibility

CustomizationCompatibility

dtoHelper

DTOHelper

cartController

CartController

quickviewController

QuickViewController

quickAddToCartController

QuickAddToCartController

productController

ProductController

slickHelper

SlickHelper

tooltipHelper

TooltipHelper