You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Instantiate a list of refinements based on a facet
@@ -20,11 +19,11 @@ import defaultShowMoreTemplates from './defaultShowMoreTemplates.js';
20
19
* @param {string} [options.operator='or'] How to apply refinements. Possible values: `or`, `and`
21
20
* @param {string[]|Function} [options.sortBy=['count:desc']] How to sort refinements. Possible values: `count|isRefined|name:asc|desc`
22
21
* @param {string} [options.limit=10] How much facet values to get. When the show more feature is activated this is the minimun number of facets requested (the show more button is not in active state).
23
-
* @param {object|boolean} [options.showMore] pass a configuration object, or true to use the default configuration
24
-
* @param {object} [options.showMore.templates] templates to use
25
-
* @param {object} [options.showMore.templates.active] template used when more facets are displayed
26
-
* @param {object} [options.showMore.templates.inactive] template used when less facets are displayed
27
-
* @param {object} [options.showMore.limit] the max number of facets values to display when the show more feature is active
22
+
* @param {object|boolean} [options.showMore=false] Limit the number of results and display a showMore button
23
+
* @param {object} [options.showMore.templates] Templates to use for showMore
24
+
* @param {object} [options.showMore.templates.active] Template used when showMore was clicked
25
+
* @param {object} [options.showMore.templates.inactive] Template used when showMore not clicked
26
+
* @param {object} [options.showMore.limit] Max number of facets values to display when showMore is clicked
28
27
* @param {Object} [options.templates] Templates to use for the widget
0 commit comments