picker-item.d.ts 710 B

12345678910111213141516171819202122232425
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. export default class PickerItem extends SuperComponent {
  3. relations: RelationsOptions;
  4. properties: import("./type").TdPickerItemProps;
  5. observers: {
  6. options(this: PickerItem): void;
  7. };
  8. data: {
  9. classPrefix: string;
  10. offset: number;
  11. duration: number;
  12. value: string;
  13. curIndex: number;
  14. };
  15. methods: {
  16. onTouchStart(event: any): void;
  17. onTouchMove(event: any): void;
  18. onTouchEnd(): void;
  19. update(): void;
  20. resetOrigin(): void;
  21. getCount(): any;
  22. };
  23. calculateViewDeltaY(touchDeltaY: number): number;
  24. created(): void;
  25. }