The Pager controller allows to navigate through the different result pages.
Pager
pager.fn.tsx
Returns true when the current page is equal to the passed page, and false otherwise.
true
false
The page number to check.
Whether the passed page is selected.
Updates the results to those on the next page.
Updates the results to those on the previous page.
Updates the results to those on the passed page.
The page number.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The state of the Pager controller.
The
Pager
controller allows to navigate through the different result pages.pager.fn.tsx