Skip to content

GhostPagination reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed pagination wrapper around @ghostvue/vue GhostPagination. Adds size styling via data-size.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
size'sm' | 'md' | 'lg'"md"NoControl sizing. Default omits data-size.

Emits ​

None declared.

Models ​

PropEventTypeDescription
modelValueupdate:modelValuenumberv-model binding for the current page.

Slots ​

NameDescription
pageForwarded page slot.
ellipsisForwarded ellipsis slot.

Slot props: page ​

None declared.

Slot props: ellipsis ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullNavigation root of the inner headless component.
focus(options?: FocusOptions) => voidDelegate focus to the inner pagination.
blur() => voidBlur the inner pagination.

Parts and data attributes ​

AttributeValueDescription
data-partrootThemed navigation root (headless ghost-pagination).

CSS variables ​

None declared.

Accessibility ​

Role: navigation. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

pagination/themed ​

Example source

Page through records

Themed invoice table whose pager changes both the current page and the visible range of records.

InvoiceStatus Amount
INV-1211Fabrikam IncDue$911.90
INV-1212Tailspin ToysOverdue$991.09
INV-1213Litware LabsPaid$1,070.28
INV-1214Adventure WorksPaid$1,149.47
INV-1215ProsewareDue$1,228.66

pagination/controlled ​

Example source

Controlled

Parent-owned page and page count that follow a themed events-per-page choice.

Events 26–50 of 120 · page 2 of 5

pagination/ellipsis ​

Example source

Ellipsis

Themed 40-page catalog that collapses hidden runs into start and end ellipses.

Products 337–360 of 960