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

Added pagination option to include a Previous and Next button #576

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

w8s
Copy link

@w8s w8s commented Jan 31, 2018

Will default Previous and Next Buttons to False.

In using the list.js component, we needed an option to include "Prev/Next" buttons in our pagination. Attempting to dynamically add them in our implementation were overwritten by the pagination refresh function where it calls paginationList.clear()

Todd Waits added 2 commits January 31, 2018 10:58
Removed the e.preventDefault, and changed pagination to use html button tags instead of anchor tags with "#" as the href. As these are not links, a button is a semantically sound approach to handling the pagination and avoids issues of scrolling to the top of the page whenever a page button is clicked.
@jeandamascyifuzo
Copy link

resolve conflict

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

Successfully merging this pull request may close these issues.

None yet

2 participants