Methods
(inner) getPageData(currentPageIn, pageSizeIn, data) → {Object}
Get page data according to input page number and
desired page size.
Returns paginated data and metadata.
Parameters:
Name | Type | Description |
---|---|---|
currentPageIn |
Number | current page number |
pageSizeIn |
Number | desired page size |
data |
Array |
- Source:
Returns:
data and meta as object
- Type
- Object