Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added id parameter in tab directive #1909

Merged
merged 2 commits into from
Jun 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions demo/src/ng-api-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1651,6 +1651,11 @@ export const ngdoc: any = {
"name": "removable",
"type": "boolean",
"description": "<p>if true tab can be removable, additional button will appear </p>\n"
},
{
"name": "id",
"type": "string",
"description": "<p>tab's ID</p>\n"
}
],
"outputs": [
Expand Down
2 changes: 2 additions & 0 deletions src/tabs/tab.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TabsetComponent } from './tabset.component';
export class TabDirective implements OnInit {
/** tab header text */
@Input() public heading: string;
/** tab id */
@Input() public id: string;
/** if true tab can not be activated */
@Input() public disabled: boolean;
/** if true tab can be removable, additional button will appear */
Expand Down