Home > widget-integration > CartDrawerRecommendationController > hideRecommendationWidget

CartDrawerRecommendationController.hideRecommendationWidget() method

Hide the entire recommendation widget when no products available.

Signature:

protected hideRecommendationWidget(container: HTMLElement): void;

Parameters

Parameter

Type

Description

container

HTMLElement

The recommendation container element

Returns:

void