Home > widget-integration > RecommendationWidgetController > handleCloseQuickAddToCart
RecommendationWidgetController.handleCloseQuickAddToCart() method
Handles closing the quick add to cart popup. Hides the popup and returns focus to the select option button.
Signature:
protected handleCloseQuickAddToCart(target: HTMLElement): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
HTMLElement |
The close button element that was clicked |
Returns:
void