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

How can I add simple href url? #108

Open
vndevil opened this issue Jun 17, 2020 · 1 comment
Open

How can I add simple href url? #108

vndevil opened this issue Jun 17, 2020 · 1 comment

Comments

@vndevil
Copy link

vndevil commented Jun 17, 2020

Hi support,

How can I add simple url to pager, not using onChange event?

    <li class="disabled"><a class="" href="http://website.com/news/page-1" aria-label="Go to first page">«</a></li>
    <li class="disabled"><a class="" href="http://website.com/news/page-1" aria-label="Go to previous page">⟨</a></li>
    <li class="active"><a class="undefined" href="http://website.com/news/page-1" aria-label="Go to page number 1">1</a></li>
    <li class=""><a class="" href="http://website.com/news/page-2" aria-label="Go to page number 2">2</a></li>
    <li class=""><a class="" href="http://website.com/news/page-3" aria-label="Go to page number 3">3</a></li>
    <li class=""><a class="" href="http://website.com/news/page-4" aria-label="Go to page number 4">4</a></li>
    <li class=""><a class="" href="http://website.com/news/page-5" aria-label="Go to page number 5">5</a></li>
    <li class=""><a class="" href="http://website.com/news/page-3" aria-label="Go to next page">⟩</a></li>
    <li class=""><a class="" href="http://website.com/news/page-10" aria-label="Go to last page">»</a></li>
@vndevil vndevil closed this as completed Jun 17, 2020
@vndevil vndevil reopened this Jun 17, 2020
@frosato-dev
Copy link

@vndevil you should use getPageUrl props

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