diff --git a/packages/web-components/fast-foundation/docs/api-report.md b/packages/web-components/fast-foundation/docs/api-report.md index bd1fb412bcd..6c297230a42 100644 --- a/packages/web-components/fast-foundation/docs/api-report.md +++ b/packages/web-components/fast-foundation/docs/api-report.md @@ -1965,7 +1965,6 @@ export class FASTTabs extends FASTElement { orientation: TabsOrientation; // @internal (undocumented) orientationChanged(): void; - // (undocumented) protected setTabs(): void; // @internal (undocumented) tabpanels: HTMLElement[]; diff --git a/packages/web-components/fast-foundation/src/tabs/README.md b/packages/web-components/fast-foundation/src/tabs/README.md index f6fb58d478e..74f3b9a18cf 100644 --- a/packages/web-components/fast-foundation/src/tabs/README.md +++ b/packages/web-components/fast-foundation/src/tabs/README.md @@ -134,10 +134,10 @@ export const myTabs = Tabs.compose({ #### Methods -| Name | Privacy | Description | Parameters | Return | Inherited From | -| --------- | --------- | ------------------------------ | -------------------- | ------ | -------------- | -| `setTabs` | protected | | | `void` | | -| `adjust` | public | The adjust method for FASTTabs | `adjustment: number` | `void` | | +| Name | Privacy | Description | Parameters | Return | Inherited From | +| --------- | --------- | --------------------------------------------------------------------------------- | -------------------- | ------ | -------------- | +| `setTabs` | protected | Function that is invoked whenever the selected tab or the tab collection changes. | | `void` | | +| `adjust` | public | The adjust method for FASTTabs | `adjustment: number` | `void` | | #### Events diff --git a/packages/web-components/fast-foundation/src/tabs/tabs.ts b/packages/web-components/fast-foundation/src/tabs/tabs.ts index 51af71bd117..5b3e0d2ad04 100644 --- a/packages/web-components/fast-foundation/src/tabs/tabs.ts +++ b/packages/web-components/fast-foundation/src/tabs/tabs.ts @@ -145,6 +145,11 @@ export class FASTTabs extends FASTElement { } } + /** + * Function that is invoked whenever the selected tab or the tab collection changes. + * + * @protected + */ protected setTabs(): void { const gridHorizontalProperty: string = "gridColumn"; const gridVerticalProperty: string = "gridRow";