IDataTablePaginationProps

interface
Component Props

Controls the page and items-per-page props for paginated data tables — the minimal binding surface for server-side or client-side pagination.

TypeScript

Definition

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

typescript

API

Properties

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

page
number | string
Current page number (1-based). Bind with v-model:page for two-way sync.
itemsPerPage
number | string
Number of rows displayed per page. Bind with v-model:itemsPerPage for two-way sync.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Server-side pagination with v-model

vue