Defines a Pagination component
Returns the current page number
Go to the previous page
Return the right range [current page + 1, number of pages] of the current page
Return the left range [1,current page - 1] of the current page
Returns a view of a pagination component.
This should be used whenever possible.
You can use customView if you need to
customize the button.
The Pagination model