Components
BasePagerLinks
Previous and next links at the end of an article, a guide or a help page.
components/ui/BasePagerLinks.vue
View in the demo
Example
Either link can be missing: the other keeps its half, so Next stays on the right. The help center articles and these docs use it.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
previous | BasePagerLink | null | — | The previous page as an object with title and to. Leave it out on the first page. |
next | BasePagerLink | null | — | The next page as an object with title and to. Leave it out on the last page. |
previous-label | string | — | The small label above the previous title. Defaults to pager.previous. |
next-label | string | — | The small label above the next title. Defaults to pager.next. |
label | string | — | The aria-label of the nav. Defaults to pager.label. |