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 to add button text as Prev and Next #20

Closed
shakirayoub123 opened this issue Feb 16, 2023 · 1 comment
Closed

How to add button text as Prev and Next #20

shakirayoub123 opened this issue Feb 16, 2023 · 1 comment

Comments

@shakirayoub123
Copy link

how do i hide the page numbers between the prev and next button, i simply want to display two buttons prev and next

@shakirayoub123 shakirayoub123 changed the title How to hide the page numbers between the buttons How to add buttons text as Prev and Next Mar 13, 2023
@shakirayoub123 shakirayoub123 changed the title How to add buttons text as Prev and Next How to add button text as Prev and Next Mar 13, 2023
@sant123
Copy link
Owner

sant123 commented Mar 13, 2023

Hey 👋🏼 I see two situations here:

For changing the texts for Prev and Next do the following:

<div is="uib-pagination" v-model="pagination" previous-text="Prev" next-text="Next"></div>

For hiding the page numbers that's currently not supported and is out of the scope of this module. Since this was inspired by pagination not pager.

However there is a workaround that may work for you and is adding this style:

.pagination-page {
  display: none !important;
}

@sant123 sant123 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2023
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