249a62aa908b664e1f283a85bcc9e72ada7b31711160f16a55e46b84747683f6d46bc3d5212e7505b74851eb10fc2209f25d13d840533b3a7db519ec513807 2.1 KB

123456789101112131415161718192021222324252627
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. export declare const carouselProps: {
  3. readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  4. readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  5. readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
  6. readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  7. readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
  8. readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
  9. readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
  10. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
  11. readonly cardScale: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
  12. readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  13. readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
  14. readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  15. readonly motionBlur: BooleanConstructor;
  16. };
  17. export declare const carouselEmits: {
  18. /**
  19. * @description triggers when the active slide switches
  20. * @param current index of the new active slide
  21. * @param prev index of the old active slide
  22. */
  23. change: (current: number, prev: number) => boolean;
  24. };
  25. export type CarouselProps = ExtractPropTypes<typeof carouselProps>;
  26. export type CarouselPropsPublic = __ExtractPublicPropTypes<typeof carouselProps>;
  27. export type CarouselEmits = typeof carouselEmits;