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

Home > @vue-storefront/core > UseFacet

UseFacet interface

Signature:

export interface UseFacet<SEARCH_DATA> 

Properties

Property Modifiers Type Description
error ComputedProperty<UseFacetErrors>
loading ComputedProperty<boolean>
result ComputedProperty<FacetSearchResult<SEARCH_DATA>>
search (params?: AgnosticFacetSearchParams) => Promise<void>