UI for Zipcoin Blue

picker-controller.js 900B

12345678910111213141516171819202122232425262728293031323334
  1. import { Injectable } from '@angular/core';
  2. import { App } from '../app/app';
  3. import { Config } from '../../config/config';
  4. import { Picker } from './picker';
  5. /**
  6. * @hidden
  7. * @name PickerController
  8. * @description
  9. *
  10. */
  11. var PickerController = (function () {
  12. function PickerController(_app, config) {
  13. this._app = _app;
  14. this.config = config;
  15. }
  16. /**
  17. * Open a picker.
  18. */
  19. PickerController.prototype.create = function (opts) {
  20. if (opts === void 0) { opts = {}; }
  21. return new Picker(this._app, opts, this.config);
  22. };
  23. PickerController.decorators = [
  24. { type: Injectable },
  25. ];
  26. /** @nocollapse */
  27. PickerController.ctorParameters = function () { return [
  28. { type: App, },
  29. { type: Config, },
  30. ]; };
  31. return PickerController;
  32. }());
  33. export { PickerController };
  34. //# sourceMappingURL=picker-controller.js.map