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

Home > @vue-storefront/core > UseCategory

UseCategory interface

Signature:

export interface UseCategory<CATEGORY, CATEGORY_SEARCH_PARAMS, API extends PlatformApi = any> extends Composable<API> 

Extends: Composable

Properties

Property Modifiers Type Description
categories ComputedProperty<CATEGORY[]>
error ComputedProperty<UseCategoryErrors>
loading ComputedProperty<boolean>

Methods

Method Description
search(params)