a zip code crypto-currency system good for red ONLY

refresher-content.js 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import { Component, Input, ViewEncapsulation } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { Refresher } from './refresher';
  4. /**
  5. * @hidden
  6. */
  7. var RefresherContent = (function () {
  8. function RefresherContent(r, _config) {
  9. this.r = r;
  10. this._config = _config;
  11. }
  12. /**
  13. * @hidden
  14. */
  15. RefresherContent.prototype.ngOnInit = function () {
  16. if (!this.pullingIcon) {
  17. this.pullingIcon = this._config.get('ionPullIcon', 'arrow-down');
  18. }
  19. if (!this.refreshingSpinner) {
  20. this.refreshingSpinner = this._config.get('ionRefreshingSpinner', this._config.get('spinner', 'ios'));
  21. }
  22. };
  23. RefresherContent.decorators = [
  24. { type: Component, args: [{
  25. selector: 'ion-refresher-content',
  26. template: '<div class="refresher-pulling">' +
  27. '<div class="refresher-pulling-icon" *ngIf="pullingIcon">' +
  28. '<ion-icon [name]="pullingIcon"></ion-icon>' +
  29. '</div>' +
  30. '<div class="refresher-pulling-text" [innerHTML]="pullingText" *ngIf="pullingText"></div>' +
  31. '</div>' +
  32. '<div class="refresher-refreshing">' +
  33. '<div class="refresher-refreshing-icon">' +
  34. '<ion-spinner [name]="refreshingSpinner"></ion-spinner>' +
  35. '</div>' +
  36. '<div class="refresher-refreshing-text" [innerHTML]="refreshingText" *ngIf="refreshingText"></div>' +
  37. '</div>',
  38. host: {
  39. '[attr.state]': 'r.state'
  40. },
  41. encapsulation: ViewEncapsulation.None,
  42. },] },
  43. ];
  44. /** @nocollapse */
  45. RefresherContent.ctorParameters = function () { return [
  46. { type: Refresher, },
  47. { type: Config, },
  48. ]; };
  49. RefresherContent.propDecorators = {
  50. 'pullingIcon': [{ type: Input },],
  51. 'pullingText': [{ type: Input },],
  52. 'refreshingSpinner': [{ type: Input },],
  53. 'refreshingText': [{ type: Input },],
  54. };
  55. return RefresherContent;
  56. }());
  57. export { RefresherContent };
  58. //# sourceMappingURL=refresher-content.js.map