Skip to content

searchcraft-search-results-per-page

Overview

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

Usage

index.html
<searchcraft-search-results-per-page increment="20" />

Properties

PropertyAttributeDescriptionTypeDefault
customStylescustom-stylesThe custom styles object.string | undefinedundefined
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

Dependencies

Depends on

Graph

graph TD;
searchcraft-search-results-per-page --> searchcraft-select
style searchcraft-search-results-per-page fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS