123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { ElementRef, EventEmitter, NgZone } from '@angular/core';
- import { Config } from '../../config/config';
- import { DomController, DomDebouncer } from '../../platform/dom-controller';
- import { Haptic } from '../../tap-click/haptic';
- import { PickerColumn } from './picker-options';
- import { Platform } from '../../platform/platform';
- import { UIEventManager } from '../../gestures/ui-event-manager';
- /**
- * @hidden
- */
- export declare class PickerColumnCmp {
- private _plt;
- private elementRef;
- private _zone;
- private _haptic;
- colEle: ElementRef;
- col: PickerColumn;
- y: number;
- colHeight: number;
- optHeight: number;
- velocity: number;
- pos: number[];
- startY: number;
- rafId: number;
- bounceFrom: number;
- minY: number;
- maxY: number;
- rotateFactor: number;
- scaleFactor: number;
- lastIndex: number;
- lastTempIndex: number;
- decelerateFunc: Function;
- debouncer: DomDebouncer;
- events: UIEventManager;
- ionChange: EventEmitter<any>;
- constructor(config: Config, _plt: Platform, elementRef: ElementRef, _zone: NgZone, _haptic: Haptic, plt: Platform, domCtrl: DomController);
- ngAfterViewInit(): void;
- ngOnDestroy(): void;
- pointerStart(ev: UIEvent): boolean;
- pointerMove(ev: UIEvent): void;
- pointerEnd(ev: UIEvent): void;
- decelerate(): void;
- optClick(ev: UIEvent, index: number): void;
- setSelected(selectedIndex: number, duration: number): void;
- update(y: number, duration: number, saveY: boolean, emitChange: boolean): void;
- refresh(): void;
- }
|