atomic-results-per-page

This is for:

Developer
In this article

The atomic-results-per-page component determines how many results to display per page.

Properties

Property Attribute Description Type Default

choicesDisplayed

choices-displayed

A list of choices for the number of results to display per page, separated by commas.

string

'10,25,50,100'

initialChoice

initial-choice

The initial selection for the number of result per page. This should be part of the choicesDisplayed option. By default, this is set to the first value in choicesDisplayed.

number | undefined

Shadow Parts

Part Description

active-button

The active result per page button.

button

The result per page button.

buttons

The list of buttons.

label

The "Results per page" label.