Pagination - ita-social-projects/what-front GitHub Wiki
How to use:
Pagination component accepts 5 properties:
- itemsPerPage - Quantity of items on one page
- itemsPerPage -
type: Number
- itemsPerPage -
- totalItems - it should be length of array of the essence.
- totalItems -
type: Number
- totalItems -
- paginate - function for clicking on
- paginate -
type: function
- paginate -
- prevPage - function for clicking on the button "previous page"
- prevPage -
type: function
- prevPage -
- nextPage - function for clicking on the button "next page"
- nextPage -
type: function
- nextPage -
- page - it should be your current page
- page -
type: Number
- page -
All properties are required
Example of usage



Result


