Skip to content

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.

2 participants