diff --git a/components/tabs/tabset.component.ts b/components/tabs/tabset.component.ts index f66a356f3a..bae0324cc8 100644 --- a/components/tabs/tabset.component.ts +++ b/components/tabs/tabset.component.ts @@ -1,4 +1,4 @@ -import {Component, OnInit, Input} from 'angular2/core'; +import {Component, OnInit, HostBinding, Input} from 'angular2/core'; import {NgClass} from 'angular2/common'; import {NgTransclude} from '../common'; import {Tab} from './tab.directive'; @@ -36,6 +36,8 @@ export class Tabset implements OnInit { @Input() public get type():string {return this._type;}; + @HostBinding('class') class = 'tab-container'; + public set vertical(value:boolean) { this._vertical = value; this.setClassMap();