Coveo Results Per Page
Implements the Coveo JavaScript Search Framework ResultsPerPage component which lets the end user choose how many results to display per page.
Usage Notes
-
The number of results to display per page specified through the Coveo Results Per Page rendering overrides the value of the Coveo Search Interface rendering
Results per page
data source option value.
Insertion Location
The Coveo Results Per Page rendering is an Allowed Control in the following placeholder(s): UI Header
, UI Results Header
, UI Results Footer
, UI Footer
, Results Header
Example insertion sequence for the Coveo Results Per Page rendering.
Coveo for Sitecore SXA rendering insertion locations aren’t limited by placeholder Allowed Controls. The Coveo Results Per Page rendering may therefore be inserted throughout the partial design, whether in Coveo for Sitecore or Sitecore placeholders.
Example insertion sequence for the Coveo Results Per Page rendering.
Data Source Options
Option name | Description |
---|---|
Initial choice | See initialChoice component option |
Choices displayed | See choicesDisplayed component option |
Additional data attributes |
Allows use of the Coveo JavaScript Search Framework ResultsPerPage component options that aren’t directly available in the data source. |
Sample Generated HTML and Corresponding Visual Output
<div class="CoveoResultsPerPage" data-initial-choice="10" data-choices-displayed="10,20,50"
aria-hidden="false"></div>
