Closed digamber89 closed 2 years ago
instantsearch.widgets.refinementList({
container: string|HTMLElement,
attribute: string,
// Optional parameters
operator: string,
limit: number,
showMore: boolean,
showMoreLimit: number,
searchable: boolean,
searchablePlaceholder: string,
searchableIsAlwaysActive: boolean,
searchableEscapeFacetValues: boolean,
sortBy: string[]|function,
templates: object,
cssClasses: object,
transformItems: function,
});
These are the params that are passed to filters - it may be possible to send it as data-refinementsettings and mergin with widgetParams
We cant give a transformItems function would be break.