10 lines
368 B
TypeScript
10 lines
368 B
TypeScript
|
import type { InjectionKey, ComputedRef } from 'vue';
|
||
|
export interface ElPaginationContext {
|
||
|
currentPage?: ComputedRef<number>;
|
||
|
pageCount?: ComputedRef<number>;
|
||
|
disabled?: ComputedRef<boolean>;
|
||
|
changeEvent?: (val: number) => void;
|
||
|
handleSizeChange?: (val: number) => void;
|
||
|
}
|
||
|
export declare const elPaginationKey: InjectionKey<ElPaginationContext>;
|