UI for Zipcoin Blue

picker.d.ts 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { EventEmitter } from '@angular/core';
  2. import { App } from '../app/app';
  3. import { Config } from '../../config/config';
  4. import { NavOptions } from '../../navigation/nav-util';
  5. import { PickerColumn, PickerOptions } from './picker-options';
  6. import { ViewController } from '../../navigation/view-controller';
  7. /**
  8. * @hidden
  9. */
  10. export declare class Picker extends ViewController {
  11. private _app;
  12. ionChange: EventEmitter<any>;
  13. constructor(app: App, opts: PickerOptions, config: Config);
  14. /**
  15. * @hidden
  16. */
  17. getTransitionName(direction: string): any;
  18. /**
  19. * @param {any} button Picker toolbar button
  20. */
  21. addButton(button: any): void;
  22. /**
  23. * @param {PickerColumn} column Picker toolbar button
  24. */
  25. addColumn(column: PickerColumn): void;
  26. getColumns(): PickerColumn[];
  27. getColumn(name: string): PickerColumn;
  28. refresh(): void;
  29. /**
  30. * @param {string} cssClass CSS class name to add to the picker's outer wrapper.
  31. */
  32. setCssClass(cssClass: string): void;
  33. /**
  34. * Present the picker instance.
  35. *
  36. * @param {NavOptions} [navOptions={}] Nav options to go with this transition.
  37. * @returns {Promise} Returns a promise which is resolved when the transition has completed.
  38. */
  39. present(navOptions?: NavOptions): Promise<any>;
  40. }