Skip to main content

Pager

Overview

The Pager component is an Angular component that handles pagination, using results from the Search service.

Properties

PropertyTypeDescription
configurationInput<PageConfiguration>The pagination configuration settings.
pageSignal<number>The current page number.
hasPagesSignal<boolean>Indicates whether multiple pages exist, based on the configuration.

Methods

MethodDescription
nextPage()Navigates to the next page.
previousPage()Navigates to the previous page.

Examples

The PagerComponent can be used in the template of a parent component as follows:

<pager [configuration]="configuration" />