IDataTableFooterProps

interface
Component Props

Full props contract for <OrigamDataTableFooter> — pagination icons, per-page options, accessible page labels, and the full color/padding/alignment design surface.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

prevIcon
TIcon
Icon for the previous-page button.
nextIcon
TIcon
Icon for the next-page button.
firstIcon
TIcon
Icon for the first-page button.
lastIcon
TIcon
Icon for the last-page button.
itemsPerPageText
string
Label rendered before the items-per-page selector.
pageText
string
Label template for the current page range (e.g. "1-10 of 42").
firstPageLabel
string
Accessible label for the first-page button.
prevPageLabel
string
Accessible label for the previous-page button.
nextPageLabel
string
Accessible label for the next-page button.
lastPageLabel
string
Accessible label for the last-page button.
itemsPerPageOptions
Array<number | { title: string, value: number }>
Options for the items-per-page selector. Can be plain numbers or objects with a display title.
showCurrentPage
boolean
Display the current page number in the footer.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom items-per-page options with labels

vue