Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
scomea committed Dec 21, 2023
1 parent 382d188 commit 1cadd3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/web-components/fast-foundation/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,6 @@ export class FASTTabs extends FASTElement {
orientation: TabsOrientation;
// @internal (undocumented)
orientationChanged(): void;
// (undocumented)
protected setTabs(): void;
// @internal (undocumented)
tabpanels: HTMLElement[];
Expand Down
8 changes: 4 additions & 4 deletions packages/web-components/fast-foundation/src/tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions packages/web-components/fast-foundation/src/tabs/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1cadd3e

Please sign in to comment.