constants.d.ts 876 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @file vue-awesome-swiper
  3. * @module constants
  4. * @author Surmon <https://github.com/surmon-china>
  5. */
  6. import { CommonEvent } from 'swiper';
  7. export declare enum CoreNames {
  8. SwiperComponent = "Swiper",
  9. SwiperSlideComponent = "SwiperSlide",
  10. SwiperDirective = "swiper",
  11. SwiperInstance = "$swiper"
  12. }
  13. export declare const DEFAULT_CLASSES: Readonly<{
  14. containerClass: string;
  15. wrapperClass: string;
  16. slideClass: string;
  17. }>;
  18. export declare type SwiperClassKey = keyof typeof DEFAULT_CLASSES;
  19. export declare enum ComponentEvents {
  20. Ready = "ready",
  21. ClickSlide = "clickSlide"
  22. }
  23. export declare enum ComponentPropNames {
  24. AutoUpdate = "autoUpdate",
  25. AutoDestroy = "autoDestroy",
  26. DeleteInstanceOnDestroy = "deleteInstanceOnDestroy",
  27. CleanupStylesOnDestroy = "cleanupStylesOnDestroy"
  28. }
  29. export declare const SWIPER_EVENTS: CommonEvent[];