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.
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.
- prevIconTIcon
- Icon for the previous-page button.
- nextIconTIcon
- Icon for the next-page button.
- firstIconTIcon
- Icon for the first-page button.
- lastIconTIcon
- Icon for the last-page button.
- itemsPerPageTextstring
- Label rendered before the items-per-page selector.
- pageTextstring
- Label template for the current page range (e.g. "1-10 of 42").
- firstPageLabelstring
- Accessible label for the first-page button.
- prevPageLabelstring
- Accessible label for the previous-page button.
- nextPageLabelstring
- Accessible label for the next-page button.
- lastPageLabelstring
- Accessible label for the last-page button.
- itemsPerPageOptionsArray<number | { title: string, value: number }>
- Options for the items-per-page selector. Can be plain numbers or objects with a display title.
- showCurrentPageboolean
- 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