The <salla-cart-summary> web component is used to show the icon of the shopping cart with a small circle badge indicating the number of items in the cart.Example#
Usage#
Properties#
| Property | Attribute | Description | Type | Default |
|---|
| Show Cart Label | show-cart-label | Shows the cart label | boolean | undefined |
Methods#
The pre-defined methods allow for calling functions built by Salla to carry out certain actvities, such as animateToCart(image:any) which animates the product images in the cart summary.| Method | Description | Return Type |
|---|
animateToCart(image: any) | Animates the product Image in the cart summary | Promise<void> |
Modified at 2024-08-18 10:13:27