Home > widget-integration > RecommendationWidgetController > applyRecommendationBundleEvent

RecommendationWidgetController.applyRecommendationBundleEvent() method

Attaches all event handlers for the 'bundle' layout (Dropdown, Checkbox, AddToCart, Image Link). Logic moved and refactored from index.js/processRecommendationBundleEvent.

Signature:

protected applyRecommendationBundleEvent(model: RecommendationModel, container: HTMLElement): void;

Parameters

Parameter

Type

Description

model

RecommendationModel

The recommendation model

container

HTMLElement

The widget's root HTML element

Returns:

void