import { Attribute , Directive , ElementRef , Renderer } from '@angular/core' ; import { Config } from '../../config/config' ; import { Ion } from '../ion' ; hidden @ Directive ( { selector : 'ion-list-header' } ) export class ListHeader extends Ion { constructor ( config , renderer , elementRef , @ Attribute ( 'id' ) private _id ) { super ( config , elementRef , renderer , 'list-header' ) ; } get id ( ) : string { return this . _id ; } set id ( val ) { this . _id = val ; this . setElementAttribute ( 'id' , val ) ; } }