File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # MdTabGroup
2
+ Tab groups allow the user to organize their content by labels such that only one tab is visible at any given time.
3
+
4
+ ### Examples
5
+ A basic tab group would have the following markup.
6
+ ``` html
7
+ <md-tab-group >
8
+ <md-tab >
9
+ <template md-tab-label >One</template >
10
+ <template md-tab-content >
11
+ <h1 >Some tab content</h1 >
12
+ <p >...</p >
13
+ </template >
14
+ </md-tab >
15
+ <md-tab >
16
+ <template md-tab-label >Two</template >
17
+ <template md-tab-content >
18
+ <h1 >Some more tab content</h1 >
19
+ <p >...</p >
20
+ </template >
21
+ </md-tab >
22
+ </md-tab-group >
23
+ ```
24
+
25
+ ## ` <md-tab-group> `
26
+ ### Properties
27
+
28
+ | Name | Type | Description |
29
+ | --- | --- | --- |
30
+ | ` selectedIndex ` | ` number ` | The index of the currently active tab. |
You can’t perform that action at this time.
0 commit comments