Usage
Connector Options
Whether to escape HTML tags from hits string values.
Enable the button to load previous results.
Function to transform the items passed to the templates.
Reads and writes hits from/to cache. Helps restore InfiniteHits and scroll position when users navigate back from a product page.Must implement
read and write methods:read({ state }): object | nullwrite({ state, hits }): void
Render Options
The accumulated hits for current and cached pages.
The accumulated hits for current and cached pages.
The hits for the current page only.
The complete response from the Algolia API.
The banner to display above the hits.
Loads the next page of hits.
Loads the previous results.
Indicates whether the first page of hits has been reached.
Indicates whether the last page of hits has been reached.
Sends an event to the Insights middleware.
Returns a string for the
data-insights-event attribute.The options passed to the connector.