import { Component, Input, ViewEncapsulation } from '@angular/core'; import { Config } from '../../config/config'; import { Refresher } from './refresher'; /** * @hidden */ var RefresherContent = (function () { function RefresherContent(r, _config) { this.r = r; this._config = _config; } /** * @hidden */ RefresherContent.prototype.ngOnInit = function () { if (!this.pullingIcon) { this.pullingIcon = this._config.get('ionPullIcon', 'arrow-down'); } if (!this.refreshingSpinner) { this.refreshingSpinner = this._config.get('ionRefreshingSpinner', this._config.get('spinner', 'ios')); } }; RefresherContent.decorators = [ { type: Component, args: [{ selector: 'ion-refresher-content', template: '
' + '
' + '' + '
' + '
' + '
' + '
' + '
' + '' + '
' + '
' + '
', host: { '[attr.state]': 'r.state' }, encapsulation: ViewEncapsulation.None, },] }, ]; /** @nocollapse */ RefresherContent.ctorParameters = function () { return [ { type: Refresher, }, { type: Config, }, ]; }; RefresherContent.propDecorators = { 'pullingIcon': [{ type: Input },], 'pullingText': [{ type: Input },], 'refreshingSpinner': [{ type: Input },], 'refreshingText': [{ type: Input },], }; return RefresherContent; }()); export { RefresherContent }; //# sourceMappingURL=refresher-content.js.map