Interface PaginationOptions

Definition

export interface PaginationOptions

Comments

Options for the pagination feature.

Properties

NameOptionalDefinitionComment
componentSizetrueSize

The size of the pagination component. Set via CSS classes provided with Bootstrap.

@defaultValue

"medium" - corresponds to not specifying a CSS class for pagination component size

maxPageButtonstruenumber

Maximum number of buttons pointing to numerically-indexed pages that can be displayed at once.

@defaultValue

5

pageSelectorAriaLabeltruestring

The ARIA label for the nav element that represents the pagination component.

@defaultValue

undefined - no ARIA label

pageSelectorJustifyContenttrueJustifyContentSetting

Justify-content CSS property for the ul element of the pagination component.

@defaultValue

undefined - no justify-content property is specified, which acts like "start" based on CSS standards. See https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/justify-content#syntax.

pageSizeOptionstruenumber[]

An array of page sizes that can be selected by the user.

@defaultValue

[10, 25, 100]