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

Any way to get total pages amount and adding buttons? #34

Closed
jovanmaric opened this issue Jan 13, 2017 · 1 comment
Closed

Any way to get total pages amount and adding buttons? #34

jovanmaric opened this issue Jan 13, 2017 · 1 comment

Comments

@jovanmaric
Copy link

Hey

Is there a way to get the total pages amount? Currently when I apply my filters, it shows the paginate-links, even though only one page is existing. I would like to hide this.

Also, is it possible to add/inject the left and right arrows to the full paginate-links for traversing the pages?

@TahaSh
Copy link
Owner

TahaSh commented Jan 17, 2017

Hey @jovanmaric! Thanks a lot for filling this issue. In the latest release, I added a new prop called hide-single-page to hide that paginateLinks when it contains a single page.

And now you can add those left/right arrows to the full paginate links using the new step links feature.

@TahaSh TahaSh closed this as completed Jan 17, 2017
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

2 participants