UI for Zipcoin Blue

picker-column.d.ts 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { ElementRef, EventEmitter, NgZone } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { DomController, DomDebouncer } from '../../platform/dom-controller';
  4. import { Haptic } from '../../tap-click/haptic';
  5. import { PickerColumn } from './picker-options';
  6. import { Platform } from '../../platform/platform';
  7. import { UIEventManager } from '../../gestures/ui-event-manager';
  8. /**
  9. * @hidden
  10. */
  11. export declare class PickerColumnCmp {
  12. private _plt;
  13. private elementRef;
  14. private _zone;
  15. private _haptic;
  16. colEle: ElementRef;
  17. col: PickerColumn;
  18. y: number;
  19. colHeight: number;
  20. optHeight: number;
  21. velocity: number;
  22. pos: number[];
  23. startY: number;
  24. rafId: number;
  25. bounceFrom: number;
  26. minY: number;
  27. maxY: number;
  28. rotateFactor: number;
  29. scaleFactor: number;
  30. lastIndex: number;
  31. lastTempIndex: number;
  32. decelerateFunc: Function;
  33. debouncer: DomDebouncer;
  34. events: UIEventManager;
  35. ionChange: EventEmitter<any>;
  36. constructor(config: Config, _plt: Platform, elementRef: ElementRef, _zone: NgZone, _haptic: Haptic, plt: Platform, domCtrl: DomController);
  37. ngAfterViewInit(): void;
  38. ngOnDestroy(): void;
  39. pointerStart(ev: UIEvent): boolean;
  40. pointerMove(ev: UIEvent): void;
  41. pointerEnd(ev: UIEvent): void;
  42. decelerate(): void;
  43. optClick(ev: UIEvent, index: number): void;
  44. setSelected(selectedIndex: number, duration: number): void;
  45. update(y: number, duration: number, saveY: boolean, emitChange: boolean): void;
  46. refresh(): void;
  47. }