a zip code crypto-currency system good for red ONLY

infinite-scroll-content.js 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. (function (factory) {
  2. if (typeof module === "object" && typeof module.exports === "object") {
  3. var v = factory(require, exports);
  4. if (v !== undefined) module.exports = v;
  5. }
  6. else if (typeof define === "function" && define.amd) {
  7. define(["require", "exports", "@angular/core", "../../config/config", "./infinite-scroll"], factory);
  8. }
  9. })(function (require, exports) {
  10. "use strict";
  11. Object.defineProperty(exports, "__esModule", { value: true });
  12. var core_1 = require("@angular/core");
  13. var config_1 = require("../../config/config");
  14. var infinite_scroll_1 = require("./infinite-scroll");
  15. /**
  16. * @hidden
  17. */
  18. var InfiniteScrollContent = (function () {
  19. function InfiniteScrollContent(inf, _config) {
  20. this.inf = inf;
  21. this._config = _config;
  22. }
  23. /**
  24. * @hidden
  25. */
  26. InfiniteScrollContent.prototype.ngOnInit = function () {
  27. if (!this.loadingSpinner) {
  28. this.loadingSpinner = this._config.get('infiniteLoadingSpinner', this._config.get('spinner', 'ios'));
  29. }
  30. };
  31. InfiniteScrollContent.decorators = [
  32. { type: core_1.Component, args: [{
  33. selector: 'ion-infinite-scroll-content',
  34. template: '<div class="infinite-loading">' +
  35. '<div class="infinite-loading-spinner" *ngIf="loadingSpinner">' +
  36. '<ion-spinner [name]="loadingSpinner"></ion-spinner>' +
  37. '</div>' +
  38. '<div class="infinite-loading-text" [innerHTML]="loadingText" *ngIf="loadingText"></div>' +
  39. '</div>',
  40. host: {
  41. '[attr.state]': 'inf.state'
  42. },
  43. encapsulation: core_1.ViewEncapsulation.None,
  44. },] },
  45. ];
  46. /** @nocollapse */
  47. InfiniteScrollContent.ctorParameters = function () { return [
  48. { type: infinite_scroll_1.InfiniteScroll, },
  49. { type: config_1.Config, },
  50. ]; };
  51. InfiniteScrollContent.propDecorators = {
  52. 'loadingSpinner': [{ type: core_1.Input },],
  53. 'loadingText': [{ type: core_1.Input },],
  54. };
  55. return InfiniteScrollContent;
  56. }());
  57. exports.InfiniteScrollContent = InfiniteScrollContent;
  58. });
  59. //# sourceMappingURL=infinite-scroll-content.js.map