File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
tools/public_api_guard/material Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ export interface MatTabsConfig {
36
36
* like iframes and videos from reloading next time it comes back into the view.
37
37
*/
38
38
preserveContent ?: boolean ;
39
+
40
+ /** Whether tabs should be stretched to fill the header. */
41
+ stretchTabs ?: boolean ;
39
42
}
40
43
41
44
/** Injection token that can be used to provide the default options the tabs module. */
Original file line number Diff line number Diff line change @@ -566,6 +566,8 @@ export class MatTabGroup extends _MatTabGroupBase {
566
566
defaultConfig && defaultConfig . fitInkBarToContent != null
567
567
? defaultConfig . fitInkBarToContent
568
568
: false ;
569
+ this . stretchTabs =
570
+ defaultConfig && defaultConfig . stretchTabs != null ? defaultConfig . stretchTabs : true ;
569
571
}
570
572
}
571
573
Original file line number Diff line number Diff line change @@ -568,6 +568,7 @@ export interface MatTabsConfig {
568
568
dynamicHeight? : boolean ;
569
569
fitInkBarToContent? : boolean ;
570
570
preserveContent? : boolean ;
571
+ stretchTabs? : boolean ;
571
572
}
572
573
573
574
// @public (undocumented)
You can’t perform that action at this time.
0 commit comments