Files
aihot/frontend/node_modules/element-plus/lib/components/pagination/src/constants.d.ts
2026-05-26 12:56:03 +08:00

13 lines
496 B
TypeScript

import { ComputedRef, InjectionKey, WritableComputedRef } from "vue";
//#region ../../packages/components/pagination/src/constants.d.ts
interface ElPaginationContext {
currentPage?: WritableComputedRef<number>;
pageCount?: ComputedRef<number>;
disabled?: ComputedRef<boolean>;
changeEvent?: (val: number) => void;
handleSizeChange?: (val: number) => void;
}
declare const elPaginationKey: InjectionKey<ElPaginationContext>;
//#endregion
export { ElPaginationContext, elPaginationKey };