You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseWishlist

UseWishlist interface

Signature:

export interface UseWishlist<WISHLIST, WISHLIST_ITEM, PRODUCT, API extends PlatformApi = any> extends Composable<API> 

Extends: Composable

Properties

Property Modifiers Type Description
error ComputedProperty<UseWishlistErrors>
loading ComputedProperty<boolean>
setWishlist (wishlist: WISHLIST) => void
wishlist ComputedProperty<WISHLIST>

Methods

Method Description
addItem(params)
clear()
isInWishlist(params)
load()
load(params)
removeItem(params)