Home > widget-integration > CartService > updateCartIconCount
CartService.updateCartIconCount() method
Update cart icon count in UI Business logic method - updates UI elements with cart count
Signature:
updateCartIconCount(count: number): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
count |
number |
Number of items in cart |
Returns:
void