swiper-nav.d.ts 914 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. import { NavTypes } from './common/constants';
  3. declare type NavOptions = {
  4. index: number;
  5. total: number;
  6. direction: boolean;
  7. paginationPosition: string;
  8. };
  9. export default class SwiperNav extends SuperComponent {
  10. externalClasses: string[];
  11. properties: {
  12. type: {
  13. type: StringConstructor;
  14. value: NavTypes;
  15. };
  16. minShowNum: {
  17. type: NumberConstructor;
  18. value: number;
  19. };
  20. hasNavBtn: {
  21. type: BooleanConstructor;
  22. value: boolean;
  23. };
  24. };
  25. relations: RelationsOptions;
  26. data: {
  27. index: number;
  28. total: number;
  29. direction: string;
  30. prefix: string;
  31. classPrefix: string;
  32. };
  33. ready(): void;
  34. onChange(opt: NavOptions): void;
  35. nav(e: any): void;
  36. }
  37. export {};