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
placeholderSearch:false// default: true. Displays documents even when the query is empty.
55
+
paginationTotalHits:30, // default: 200.
56
+
placeholderSearch:false// default: true.
58
57
}
59
58
);
60
59
```
61
60
61
+
-`paginationTotalHits` (`200` by default): The total (and finite) number of hits you can browse during pagination.<br>
62
+
It means, by default, you can browse `paginationTotalHits / hitsPerPage = 200 / 20 = 10` pages during pagination.<br>
63
+
By default, `hitsPerPage` is set to `20` but it can be changed with [`InsantSearch.configure`](https://www.algolia.com/doc/api-reference/widgets/configure/js/#examples)<br>
64
+
If the pagination widget is not set, this parameter is ignored.
65
+
66
+
-`placeholderSearch` (`true` by default). Displays documents even when the query is empty.
67
+
62
68
## Example with InstantSearch
63
69
64
70
The open-source [InstantSearch](https://www.algolia.com/doc/api-reference/widgets/js/) library powered by Algolia provides all the front-end tools you need to highly customize your search bar environment.
0 commit comments