Components
<AisMenu>
Single-select facet menu with optional show-more control.
Usage
<AisInstantSearch :configuration="configuration">
<AisMenu attribute="categories" :show-more="true" />
</AisInstantSearch>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
attribute | string | required | Facet attribute name. |
limit | number | connector default | Number of menu items shown initially. |
showMoreLimit | number | connector default | Max items with show-more enabled. |
showMore | boolean | false | Enables show-more toggle. |
sortBy | unknown[] | function | connector default | Sorting strategy for menu items. |
transformItems | function | undefined | Transforms menu items before rendering. |