Signature
Import
- Component
- Plugin
To ensure optimal bundle sizes,
see Optimize build size.
Vue
About this widget
Theais-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 about the different parameters you can set,
see the search parameters API reference.
Examples
Vue
Props
A list of search parameters to enable when the widget mounts.
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
.camel
before the value of the prop.Vue
Customize the UI
default
The slot to override the DOM output
When you implement this slot, none of the other slots will change the output, as the default slot surrounds them.Scope
searchParameters: object
: the current search parameters applied to the search.refine: (object) => void
: the function to change the search parameters applied to the search.
Vue