From 9d88c12bb8409c293836cae75edb820bae7f97de Mon Sep 17 00:00:00 2001 From: ankar Date: Tue, 18 Apr 2017 11:12:43 +0300 Subject: [PATCH 1/2] Added id parameter in tab directive --- src/tabs/tab.directive.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tabs/tab.directive.ts b/src/tabs/tab.directive.ts index 71926db536..64942a7fdc 100644 --- a/src/tabs/tab.directive.ts +++ b/src/tabs/tab.directive.ts @@ -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 */ From ab8b7200ef5a5319495e7ac27293af31bacca9cd Mon Sep 17 00:00:00 2001 From: Ilya Surmay Date: Fri, 2 Jun 2017 16:46:57 +0300 Subject: [PATCH 2/2] docs(tab): add docs for ID parameter --- demo/src/ng-api-doc.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demo/src/ng-api-doc.ts b/demo/src/ng-api-doc.ts index bf341917ae..fe57ad894b 100644 --- a/demo/src/ng-api-doc.ts +++ b/demo/src/ng-api-doc.ts @@ -1651,6 +1651,11 @@ export const ngdoc: any = { "name": "removable", "type": "boolean", "description": "

if true tab can be removable, additional button will appear

\n" + }, + { + "name": "id", + "type": "string", + "description": "

tab's ID

\n" } ], "outputs": [