Home > widget-integration > CartDrawerRecommendationController > setupResizeHandler
CartDrawerRecommendationController.setupResizeHandler() method
Setup a debounced resize handler that reinitializes the carousel when the window size changes (e.g., viewport rotation, drawer width change).
Signature:
protected setupResizeHandler(): void;
Returns:
void