UNPKG

plus-pro-components

Version:

Page level components developed based on Element Plus.

17 lines (15 loc) 621 B
import { PageInfo, RecordType, Mutable } from 'plus-pro-components/es/types'; import { PaginationProps } from 'element-plus'; export interface PlusPaginationSelfProps { modelValue?: PageInfo; total?: number; pageSizeList?: number[]; align?: 'left' | 'right'; } export type PlusPaginationProps = PlusPaginationSelfProps & Partial<Mutable<PaginationProps>> & RecordType; export interface PlusPaginationEmits { (e: 'update:modelValue', pageInfo: PageInfo): void; (e: 'change', pageInfo: PageInfo): void; (e: 'size-change', value: number): void; (e: 'current-change', value: number): void; }