import {Parent} from 'angular2/src/core/annotations_impl/visibility'; import {Component} from 'angular2/src/core/annotations_impl/annotations'; import {View} from 'angular2/src/core/annotations_impl/view'; import {NgFor} from 'angular2/angular2'; import {TabButton} from './tab-button'; import {Icon} from '../icon/icon'; @Component({ selector: 'ion-tab-bar' }) @View({ template: `
`, directives: [NgFor, TabButton, Icon] }) export class TabBar { constructor(@Parent() tabs: Tabs) { console.log('TabBar constructor', this.id); } }