ORIGAM_DATA_TABLE_PAGINATION_KEY

const
Injection Keys

Vue provide/inject symbol that shares the pagination state (page, itemsPerPage, startIndex, stopIndex, pageCount, itemsLength) and navigation helpers (prevPage, nextPage, setPage, setItemsPerPage) from OrigamDataTable to its footer component.

TypeScript

Definition

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

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamDataTable

  • OrigamDataTableFooter

Usage

Examples

Ready-to-paste code snippets using this constant.

Consuming pagination state in a custom footer slot

typescript