getPage()
returns the index of the active page
getPage(): number;
Returns:
A number with the index of the active page.
Example
const pageIndex = pagination.getPage();
// -> 3
Related sample: Pagination. Get / set page index
returns the index of the active page
A number with the index of the active page.
Example
const pageIndex = pagination.getPage();
// -> 3
Related sample: Pagination. Get / set page index