UNPKG

ionic-angular

Version:

A powerful framework for building mobile and progressive web apps with JavaScript and Angular

76 lines 2.17 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { Attribute, Directive, ElementRef, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; /** * @hidden */ var ListHeader = (function (_super) { __extends(ListHeader, _super); /** * @param {?} config * @param {?} renderer * @param {?} elementRef * @param {?} _id */ function ListHeader(config, renderer, elementRef, _id) { var _this = _super.call(this, config, elementRef, renderer, 'list-header') || this; _this._id = _id; return _this; } Object.defineProperty(ListHeader.prototype, "id", { /** * @return {?} */ get: function () { return this._id; }, /** * @param {?} val * @return {?} */ set: function (val) { this._id = val; this.setElementAttribute('id', val); }, enumerable: true, configurable: true }); return ListHeader; }(Ion)); export { ListHeader }; ListHeader.decorators = [ { type: Directive, args: [{ selector: 'ion-list-header' },] }, ]; /** * @nocollapse */ ListHeader.ctorParameters = function () { return [ { type: Config, }, { type: Renderer, }, { type: ElementRef, }, { type: undefined, decorators: [{ type: Attribute, args: ['id',] },] }, ]; }; function ListHeader_tsickle_Closure_declarations() { /** @type {?} */ ListHeader.decorators; /** * @nocollapse * @type {?} */ ListHeader.ctorParameters; /** @type {?} */ ListHeader.prototype._id; } //# sourceMappingURL=list-header.js.map