Home > @vsf-enterprise/sapcc > UseProductSuggestionsComposable

UseProductSuggestionsComposable interface

Composable method for loading and storing product suggestions.

Signature:

export interface UseProductSuggestionsComposable 

Properties

Property Type Description
error ComputedProperty<UseProductSuggestionsError> An indicator of useProductSuggestions composable methods errors.
load (props: LoadProductSuggestionsProps) => Promise<void> A method for loading product suggestions.
loading ComputedProperty<boolean> An indicator of useProductSuggestions composable methods progress.
reset () => void A method for resetting the composable's state.
suggestions ComputedProperty<Suggestion[]> An array of product suggestions.