Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get page number #823

Open
estellederrien opened this issue Jan 12, 2018 · 3 comments
Open

Get page number #823

estellederrien opened this issue Jan 12, 2018 · 3 comments

Comments

@estellederrien
Copy link

estellederrien commented Jan 12, 2018

Hello ,

I have a simple front end paginator like that 👍

<div id="pagerId" st-pagination="" st-items-by-page="15" st-displayed-pages="200"></div>

Then how could I find the total page number inside my angularjs controller linked to this view ($scope notation) ?

Thank you.

@lorenzofox3
Copy link
Owner

available as currentPage on the directive scope

@IanLeck-youngBlood
Copy link

Sorry I'm quite new to this I don't quite understand how to call the currentPage?

@IanLeck-youngBlood
Copy link

Sorry I'm quite new to this I don't quite understand how to call the currentPage?

I'm asking because I'm trying to solve this issue that I posted on stackOverflow: https://stackoverflow.com/q/56356240/11570843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants