picker-item.d.ts 679 B

123456789101112131415161718192021222324
  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. prefix: string;
  10. offset: number;
  11. duration: number;
  12. value: string;
  13. };
  14. methods: {
  15. onTouchStart(event: any): void;
  16. onTouchMove(event: any): void;
  17. onTouchEnd(): void;
  18. update(): void;
  19. resetOrigin(): void;
  20. getCount(): any;
  21. };
  22. calculateViewDeltaY(touchDeltaY: number): number;
  23. created(): void;
  24. }