"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var core_1 = require('@angular/core');
var config_1 = require('../../config/config');
var ion_1 = require('../ion');
var ListHeader = (function (_super) {
    __extends(ListHeader, _super);
    function ListHeader(config, renderer, elementRef, _id) {
        _super.call(this, config, elementRef, renderer);
        this._id = _id;
        this._setMode('list-header', config.get('mode'));
    }
    Object.defineProperty(ListHeader.prototype, "id", {
        get: function () {
            return this._id;
        },
        set: function (val) {
            this._id = val;
            this.setElementAttribute('id', val);
        },
        enumerable: true,
        configurable: true
    });
    ListHeader.decorators = [
        { type: core_1.Directive, args: [{
                    selector: 'ion-list-header'
                },] },
    ];
    ListHeader.ctorParameters = [
        { type: config_1.Config, },
        { type: core_1.Renderer, },
        { type: core_1.ElementRef, },
        { type: undefined, decorators: [{ type: core_1.Attribute, args: ['id',] },] },
    ];
    return ListHeader;
}(ion_1.Ion));
exports.ListHeader = ListHeader;
