indexPages()
Makes an array of objects representing the pagination details based on the current page number, the number of pages and the maximum number of pages to show.
This function is valid in v2.24.0 to v2.24.3. This function has been downloaded 29 times.5
number
(the page number), isSelected
(a boolean indicating if the page is pageNumber
), and isBoundary
(a boolean indicating if number
is pageNumber
or pageCount
).This function is directly required by the following function:
paginate()
indexPages()
but includes the items
property in each object.