Skip to content

Commit

Permalink
fix(demo): fixed tabs demo (#1050)
Browse files Browse the repository at this point in the history
Adjust do tabHeading directive.
  • Loading branch information
jonatascastro12 authored and valorkin committed Oct 4, 2016
1 parent cec8bae commit 969a61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tabs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { TabsModule } from 'ng2-bootstrap/components/tabs';
<tabset>
<tab heading='Tab 1'>Tab 1 content</tab>
<tab>
<template tab-heading>Tab 2</template>
<template tabHeading>Tab 2</template>
Tab 2 content
</tab>
</tabset>
Expand Down Expand Up @@ -44,7 +44,7 @@ export class TabDirective implements OnInit, OnDestroy, DoCheck {
}

// directive TabHeading
@Directive({selector: '[tab-heading]'})
@Directive({selector: '[tabHeading]'})
export class TabHeadingDirective {}
```

Expand Down

0 comments on commit 969a61a

Please sign in to comment.