Skip to content

PaginationFooter ​

Overview ​

Pagination footer for data views. Composes the PaginationBar substrate with a "Showing X to Y of N" range read-out (PaginationMeta), a rows-per-page selector (whose final "All" entry loads every page), and the first / previous / next / last navigation cluster with a "Page N of M" indicator.

Theme entry: PaginationFooter

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
totalRecordsnumberyesTotal number of records across all pages.
currentPagenumberyesThe currently active 1-based page number.
rowsnumberyesNumber of records the server returned per page; drives the range read-out math.
perPagenumber|stringundefinedThe selected rows-per-page value: a number, or the "all" sentinel for the all-pages view.
pageSizeOptionsarray[...DEFAULT_PAGE_SIZE_OPTIONS]Rows-per-page options offered by the selector; the final "all" entry loads every page.
loadingbooleanundefinedWhen true, the paginator shows placeholder page counts while data is loading.
showTotalRecordNumbooleantrueWhen true, the record-count read-out is displayed.
isTablebooleantrueIndicates whether the paginator is used inside a table layout (reserved for theming).

Slots ​

meta ​

Scoped slot.

Bindings ​

NameDescription
totalRecords
currentPage
rows
loading
report

rows-per-page ​

Scoped slot.

Bindings ​

NameDescription
pageSizeOptions
perPage
onChange

Events ​

NameDescription
update:currentPageEmitted when the user navigates to a different page; payload is the 1-based page number.
update:perPageEmitted when the user changes the rows-per-page selection; payload is a number or the "all" sentinel.

Full event reference

Source ​

client/lib/navigation/pagination/PaginationFooter.vue