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
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
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
total-records
current-page
rows
loading
report

rows-per-page

Scoped slot.

Bindings

NameDescription
page-size-options
per-page
on-change

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

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2