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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

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.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Custom items-per-page options with labels

vue