ionic-angular
Version:
A powerful framework for building mobile and progressive web apps with JavaScript and Angular
32 lines • 865 B
JavaScript
import { Attribute, Directive, ElementRef, Renderer } from '@angular/core';
import { Config } from '../../config/config';
import { Ion } from '../ion';
/**
* @hidden
*/
export class ListHeader extends Ion {
constructor(config, renderer, elementRef, _id) {
super(config, elementRef, renderer, 'list-header');
this._id = _id;
}
get id() {
return this._id;
}
set id(val) {
this._id = val;
this.setElementAttribute('id', val);
}
}
ListHeader.decorators = [
{ type: Directive, args: [{
selector: 'ion-list-header'
},] },
];
/** @nocollapse */
ListHeader.ctorParameters = () => [
{ type: Config, },
{ type: Renderer, },
{ type: ElementRef, },
{ type: undefined, decorators: [{ type: Attribute, args: ['id',] },] },
];
//# sourceMappingURL=list-header.js.map