Home > widget-integration > CartDrawerRecommendationController > areAllProductsHidden
CartDrawerRecommendationController.areAllProductsHidden() method
Check if all products in the recommendation widget are hidden. Checks both the synchronous data-rcu-hidden attribute (set immediately by ) and display:none (set after fade animation).
Signature:
protected areAllProductsHidden(): boolean;
Returns:
boolean
True if all products are hidden or pending hide