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

Home > @vue-storefront/core > UseSearchGetters

UseSearchGetters interface

Signature:

export interface UseSearchGetters<RESULT, ITEM> 

Properties

Property Modifiers Type Description
getBreadcrumbs (result: RESULT) => AgnosticBreadcrumb[]
getCategoryTree (result: RESULT) => AgnosticCategoryTree
getFilters (result: RESULT) => AgnosticFilter[]
getItemId (item: ITEM) => string
getItemImages (item: ITEM) => AgnosticMediaGalleryItem[]
getItemName (item: ITEM) => string
getItemPrice (item: ITEM) => AgnosticPrice
getItems (result: RESULT) => ITEM[]
getItemSlug (item: ITEM) => string
getPagination (result: RESULT) => AgnosticPagination
getSortOptions (result: RESULT) => AgnosticSort