Skip to content

Commit

Permalink
docs(angular/tabs): add note when using together with routerLink (#…
Browse files Browse the repository at this point in the history
…1942)

Closes #1941
  • Loading branch information
mhaertwig authored and github-actions committed Jul 18, 2023
1 parent 3c0671a commit 4f6cabc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/angular/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ uses the `active` property to determine which tab is currently active. The corre
`<router-outlet>` must be wrapped in an `<sbb-tab-nav-panel>` component and should typically be
placed relatively close to the `sbb-tab-nav-bar` (see [Accessibility](#accessibility)).

Note: If the link is not wrapped in an `ngFor` directive, the `routerLinkActive` reference (`#rla`)
needs to be unique for each link (e.g. `rla1`, `rla2` etc.).

### Lazy Loading

By default, the tab contents are eagerly loaded. Eagerly loaded tabs
Expand Down

0 comments on commit 4f6cabc

Please sign in to comment.