@@ -265,7 +265,7 @@ search.addWidget(
265
265
* @param {String|DOMElement} options.container Valid CSS Selector as a string or DOMElement
266
266
* @param {Array} options.indices Array of objects defining the different indices to choose from. Each object must contain a `name` and `label` key.
267
267
* @param {String} [options.cssClass] Class name(s) to be added to the generated select element
268
- * @param {boolean} [hideIfEmpty = false ] Hide the container when no results match
268
+ * @param {boolean} [hideWhenNoResults = false ] Hide the container when no results match
269
269
* @return {Object}
270
270
*/
271
271
```
@@ -362,7 +362,7 @@ search.addWidget(
362
362
* @param {String} options.label Human-readable name of the filter (eg. "Free Shipping")
363
363
* @param {String|Function} [options.template] Item template, provided with `label` and `isRefined`
364
364
* @param {Function} [options.transformData] Function to change the object passed to the item template
365
- * @param {boolean} [hideIfEmpty = true ] Hide the container when no results match
365
+ * @param {boolean} [hideWhenNoResults = true ] Hide the container when no results match
366
366
* @return {Object}
367
367
*/
368
368
```
@@ -395,7 +395,7 @@ search.addWidget(
395
395
* @param {Function} [options.transformData] Function to change the object passed to the item template
396
396
* @param {String|Function} [options.singleRefine= true ] Are multiple refinements allowed or only one at the same time. You can use this
397
397
* to build radio based refinement lists for example
398
- * @param {boolean} [hideIfEmpty = true ] Hide the container when no results match
398
+ * @param {boolean} [hideWhenNoResults = true ] Hide the container when no results match
399
399
* @return {Object}
400
400
*/
401
401
```
@@ -439,7 +439,7 @@ search.addWidget(
439
439
* @param {String|Function} [options.templates.item= ' <a href="{{href}}">{{name}}</a> {{count}}' ] Item template, provided with `name`, `count`, `isRefined`
440
440
* @param {String|Function} [options.templates.footer= ' ' ] Footer template
441
441
* @param {Function} [options.transformData] Function to change the object passed to the item template
442
- * @param {boolean} [hideIfEmpty = true ] Hide the container when no results match
442
+ * @param {boolean} [hideWhenNoResults = true ] Hide the container when no results match
443
443
* @return {Object}
444
444
*/
445
445
```
@@ -476,7 +476,7 @@ search.addWidget(
476
476
* You can also provide
477
477
* tooltips: {format: function(formattedValue, rawValue) {return '$' + formattedValue}}
478
478
* So that you can format the tooltip display value as you want
479
- * @param {boolean} [hideIfEmpty = true ] Hide the container when no results match
479
+ * @param {boolean} [hideWhenNoResults = true ] Hide the container when no results match
480
480
* @return {Object}
481
481
*/
482
482
```
0 commit comments