indexes.d.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import { SuperComponent } from '../common/src/index';
  2. export default class IndexBar extends SuperComponent {
  3. externalClasses: string[];
  4. properties: import("./type").TdIndexesProps;
  5. observers: {
  6. list(this: IndexBar, newValue: any): void;
  7. height(this: IndexBar): void;
  8. };
  9. data: {
  10. prefix: string;
  11. classPrefix: string;
  12. clientHeight: number;
  13. groups: any[];
  14. activeGroup: any;
  15. currentGroup: any;
  16. showScrollTip: boolean;
  17. };
  18. timer: any;
  19. groupTop: any;
  20. btnBar: any;
  21. ready(): void;
  22. getHeight(): void;
  23. getDomInfo(): void;
  24. computedIndex(tapY: any): any;
  25. computedIndexByScrollTop(scrollTop: number): number;
  26. activeIndexWhenScroll(scrollTop: number): void;
  27. scrollToY(tapY: any): void;
  28. scrollToAnchor(index: any): void;
  29. switchScrollTip(val: any): void;
  30. throttleScroll(): Promise<void>;
  31. onTouchStart(): void;
  32. onTouchMove(e: any): void;
  33. onTouchCancel(): void;
  34. onTouchEnd(e: any): void;
  35. onCellTap(e: any): void;
  36. onListScroll(e: any): void;
  37. }