searchcraft-search-results-per-page
This web component is designed to choose the number of search results displayed.
Import
Section titled “Import”import { SearchcraftSearchResultsPerPage } from "@searchcraft/react-sdk";
import { SearchcraftSearchResultsPerPage } from "@searchcraft/vue-sdk";
<searchcraft-search-results-per-page increment="20" />
<SearchcraftSearchResultsPerPage increment={20} />
<SearchcraftSearchResultsPerPage increment="20" />
Properties
Section titled “Properties”Property | Attribute | Description | Type | Default |
---|---|---|---|---|
increment | increment | The 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 | string | 20 |
searchcraftId | searchcraft-id | The id of the Searchcraft instance that this component should use. | string | undefined | undefined |