Skip to content

searchcraft-search-results-per-page

This web component is designed to choose the number of search results displayed.

import { SearchcraftSearchResultsPerPage } from "@searchcraft/react-sdk";
index.html
<searchcraft-search-results-per-page increment="20" />
PropertyAttributeDescriptionTypeDefault
incrementincrementThe amount the options will increase (e.g. 20 = [20, 40, 60, 80, 100]). The base value is defined by the searchResultsPerPage option in the configuration.number | string20
searchcraftIdsearchcraft-idThe id of the Searchcraft instance that this component should use.string | undefinedundefined