Checks whether the number of results per page is equal to the specified number.
The number of results.
true
if the number of results is equal to the passed value, and false
otherwise.
Updates the number of results to request per page.
The number of results.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The
ResultsPerPage
controller allows the end user to choose how many results to display per page.Example: results-per-page.fn.tsx