| Invoice | Status | Amount |
|---|---|---|
| INV-1211Fabrikam Inc | Due | $911.90 |
| INV-1212Tailspin Toys | Overdue | $991.09 |
| INV-1213Litware Labs | Paid | $1,070.28 |
| INV-1214Adventure Works | Paid | $1,149.47 |
| INV-1215Proseware | Due | $1,228.66 |
GhostPagination reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Headless pagination navigation with first, previous, next, last, and numbered page controls. useGhostPagination owns page state; getPaginationRange builds ellipsis markers.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
ariaLabel | string | "Pagination" | No | `aria-label` on the `nav` root. |
boundaryCount | number | 1 | No | Pages pinned at each end. |
defaultPage | number | 1 | No | Initial page when uncontrolled. |
disabled | boolean | false | No | Disable every control. |
ellipsisLabel | string | "More pages" | No | Declared prop `ellipsisLabel`. |
firstLabel | string | "First page" | No | Declared prop `firstLabel`. |
getPageLabel | ((page: number) => string) | — | No | Declared prop `getPageLabel`. |
lastLabel | string | "Last page" | No | Declared prop `lastLabel`. |
modelValue | number | — | No | Controlled current page (1-based). |
nextLabel | string | "Next page" | No | Declared prop `nextLabel`. |
pageCount | number | — | Yes | Total pages (`≥ 1`). |
previousLabel | string | "Previous page" | No | Declared prop `previousLabel`. |
showEdges | boolean | true | No | Render first and last controls. |
siblingCount | number | 1 | No | Pages beside the current page. |
Emits
None declared.
Models
| Prop | Event | Type | Description |
|---|---|---|---|
modelValue | update:modelValue | number | v-model binding for `modelValue`. |
Slots
| Name | Description |
|---|---|
ellipsis | Named slot `ellipsis`. |
page | Named slot `page`. |
Slot props: ellipsis
| Name | Type | Description |
|---|---|---|
placement | 'end' | 'start' | Slot prop `placement`. |
Slot props: page
| Name | Type | Description |
|---|---|---|
current | boolean | Slot prop `current`. |
page | number | Slot prop `page`. |
Exposed members
| Name | Type | Description |
|---|---|---|
blur | () => void | Exposed method `blur`. |
element | HTMLElement | null | Root element after mount; null before mount. |
focus | (options?: FocusOptions) => void | Exposed method `focus`. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | root | Navigation landmark. |
data-part | list | Horizontal list of page controls. |
data-part | item | List item wrapping a control or ellipsis. |
data-part | first | First page control. |
data-part | previous | Previous page control. |
data-part | next | Next page control. |
data-part | last | Last page control. |
data-part | page | Numbered page control. |
data-part | ellipsis | Non-interactive ellipsis affordance. |
data-state | disabled | Root while every control is disabled. |
data-disabled | present | Present on a first, previous, next, last, or page control while it cannot be activated, either because the whole pagination is disabled or because the control points at the current boundary. |
CSS variables
None declared.
Accessibility
Role: navigation. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.
Required ARIA attributes: aria-label.
Keyboard
| Key | Action | Automated browser test |
|---|---|---|
Tab | Move focus among pagination controls. | Not reviewed |
Enter | Activate the focused control. | Not reviewed |
Space | Activate the focused control. | Not reviewed |
Verification
Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
pagination/basic
Numbered page navigation with previous and next.
pagination/themed
Themed invoice table whose pager changes both the current page and the visible range of records.