|
6 | 6 | * @restrict E
|
7 | 7 | *
|
8 | 8 | * @description
|
9 |
| - * The `<md-tabs>` directive serves as the container for 1..n `<md-tab>` child directives to produces a Tabs components. |
10 |
| - * In turn, the nested `<md-tab>` directive is used to specify a tab label for the **header button** and a [optional] tab view |
11 |
| - * content that will be associated with each tab button. |
| 9 | + * The `<md-tabs>` directive serves as the container for 1..n `<md-tab>` child directives to |
| 10 | + * produces a Tabs components. In turn, the nested `<md-tab>` directive is used to specify a tab |
| 11 | + * label for the **header button** and a [optional] tab view content that will be associated with |
| 12 | + * each tab button. |
12 | 13 | *
|
13 | 14 | * Below is the markup for its simplest usage:
|
14 | 15 | *
|
|
26 | 27 | * 2. Tabs with internal view content
|
27 | 28 | * 3. Tabs with external view content
|
28 | 29 | *
|
29 |
| - * **Tab-only** support is useful when tab buttons are used for custom navigation regardless of any other components, content, or views. |
30 |
| - * **Tabs with internal views** are the traditional usages where each tab has associated view content and the view switching is managed internally by the Tabs component. |
31 |
| - * **Tabs with external view content** is often useful when content associated with each tab is independently managed and data-binding notifications announce tab selection changes. |
| 30 | + * **Tab-only** support is useful when tab buttons are used for custom navigation regardless of any |
| 31 | + * other components, content, or views. |
| 32 | + * |
| 33 | + * <i><b>Note:</b> If you are using the Tabs component for page-level navigation, please take a look |
| 34 | + * at the <a ng-href="./api/directive/mdNavBar">NavBar component</a> instead as it can handle this |
| 35 | + * case a bit more natively.</i> |
| 36 | + * |
| 37 | + * **Tabs with internal views** are the traditional usages where each tab has associated view |
| 38 | + * content and the view switching is managed internally by the Tabs component. |
| 39 | + * |
| 40 | + * **Tabs with external view content** is often useful when content associated with each tab is |
| 41 | + * independently managed and data-binding notifications announce tab selection changes. |
32 | 42 | *
|
33 | 43 | * Additional features also include:
|
34 | 44 | *
|
|
0 commit comments