WishlistAlert container
The WishlistAlert
container displays notifications that give feedback about actions performed in a wishlist drop-in component.
WishlistAlert container
Configurations
The WishlistAlert
container provides the following configuration options:
Example
The following example demonstrates how to render the WishlistAlert
container:
provider.render(Wishlist, { action: 'add', // or 'remove', 'move', 'addError', 'removeError' item: { product: { name: 'Sample Product' } }, routeToWishlist: '/wishlist', });