UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

31 lines (26 loc) 584 B
import { VNode } from 'vue'; export interface PageState { first: number, rows: number, page: number, pageCount: number } interface PaginatorProps { totalRecords?: number; rows?: number; first?: number; pageLinkSize?: number; rowsPerPageOptions?: any[]; template?: string; currentPageReportTemplate?: any; alwaysShow?: boolean; } declare class Paginator { $props: PaginatorProps; $emit(eventName: 'page', event: PageState): this; $slots: { left: VNode[]; right: VNode[]; } } export default Paginator;