Components
<AisNumericMenu>
Numeric range selector using predefined interval items.
Usage
<AisInstantSearch :configuration="configuration">
<AisNumericMenu
attribute="price"
:items="[
{ label: 'All' },
{ label: '<= 10', end: 10 },
{ label: '10 - 100', start: 10, end: 100 },
{ label: '>= 100', start: 100 }
]"
/>
</AisInstantSearch>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
attribute | string | required | Numeric attribute name. |
items | NumericMenuConnectorParamsItem[] | required | Range presets with label, optional start, optional end. |
transformItems | function | undefined | Transforms range items before rendering. |