Home > @shopware-pwa/composables > IUseWishlist

# IUseWishlist interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

interface for useWishlist() composable

Signature:

export interface IUseWishlist 

# Properties

Property Type Description
addToWishlist () => void (BETA)
clearWishlist () => void (BETA)
count Ref<number> (BETA)
isInWishlist Ref<boolean> (BETA)
items Ref<string[]> (BETA)
onAddToWishlist (fn: (params: { product: Product; }) => void) => void (BETA)
removeFromWishlist (id: string) => void (BETA)