You can customize the buttons using b-pagination-button
as scoped slot.
For example, you can customize the inner text or use router-link
as tag.
You can customize the buttons using b-pagination-button
as scoped slot.
For example, you can customize the inner text or use router-link
as tag.
Name | Description | Type | Values | Default |
---|---|---|---|---|
total | Total count of items | Number | — | — |
per-page | Items count for each page | Number | — | 20 |
range-before | Number of pagination items to show before current page | Number | — | 1 |
range-after | Items to paginatation items to show after current page | Number | — | 1 |
current | Current page number, use the .sync modifier to make it two-way binding | Number | — | 1 |
order | Buttons order, optional | String | is-centered , is-right | — |
size | Pagination size, optional | String | is-small , is-medium , is-large | — |
simple | Simpler style | Boolean | — | false |
rounded | Rounded button styles | Boolean | — | false |
icon-pack | Icon pack to use | String | mdi , fa , fas , far , fad , fal | mdi |
icon-prev | Icon to use for previous button | String | — | chevron-left |
icon-next | Icon to use for next button | String | — | chevron-right |
aria-next-label | Accessibility label for the next page link. | String | — | — |
aria-previous-label | Accessibility label for the previous page link. | String | — | — |
aria-page-label | Accessibility label for the page link. If passed, this text will be prepended to the number of the page. | String | — | — |
aria-current-label | Accessibility label for the current page link. If passed, this text will be prepended to the current page. | String | — | — |
Name | Description | Type | Values | Default |
---|---|---|---|---|
page | The prop page need to be passed upon the component (:page="props.page" ). | Object | — | — |
tag | Button tag name | String | a , button , input , router-link , nuxt-link or other nuxt alias | a |
This page is open source. Noticed a typo or something's unclear?