constants.d.ts 496 B

12345678910111213
  1. import { ComputedRef, InjectionKey, WritableComputedRef } from "vue";
  2. //#region ../../packages/components/pagination/src/constants.d.ts
  3. interface ElPaginationContext {
  4. currentPage?: WritableComputedRef<number>;
  5. pageCount?: ComputedRef<number>;
  6. disabled?: ComputedRef<boolean>;
  7. changeEvent?: (val: number) => void;
  8. handleSizeChange?: (val: number) => void;
  9. }
  10. declare const elPaginationKey: InjectionKey<ElPaginationContext>;
  11. //#endregion
  12. export { ElPaginationContext, elPaginationKey };