ais-configure
<ais-configure // Optional parameters v-bind="object searchParameters" />
About this widget
The ais-configure
widget lets you provide raw search parameters to the Algolia API without rendering anything.
Any props you add to this widget is forwarded to Algolia. For more information on the different parameters you can set, have a look at the search parameters API reference.
Examples
1
2
3
4
5
6
<ais-configure
:hits-per-page.camel="4"
:distinct="true"
:analytics="false"
:enable-personalization.camel="true"
/>
Props
searchParameters
|
type: object
A list of search parameters to enable when the widget mounts. Note that the props have to use camel case since they’re directly forwarded to the Algolia API. In HTML or string templates, you can do this by adding |
||
Copy
|
Customize the UI
default
|
The slot to override the DOM output Note that when you implement this slot, none of the other slots will change the output, as the default slot surrounds them. Scope
|
||
Copy
|
HTML output
This widget has no HTML output.