Skip to content

Commit

Permalink
feat(material/tabs): The animation of the ink bar of the mat tab grou…
Browse files Browse the repository at this point in the history
…p and the mat tab nav bar is now synchronized with the animationDuration of the tab body.

When the animation duration of the tab body was set to e.g. 0ms the ink bar still had an animation of 500ms. The following feat extends the animationDuration property to not only affect the tab body but also the ink bar of the tab group and the tab nav bar.

Fixes angular#25068
  • Loading branch information
markusingvarsson committed Sep 13, 2022
1 parent 3f69d47 commit 68ab595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/public_api_guard/material/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export class MatTabNav extends _MatTabNavBase implements AfterContentInit, After
// (undocumented)
_tabListInner: ElementRef;
// (undocumented)
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; "stretchTabs": "mat-stretch-tabs"; "animationDuration": "animationDuration"; }, {}, ["_items"], ["*"], false>;
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; "stretchTabs": "mat-stretch-tabs"; "animationDuration": "animationDuration"; }, {}, ["_items"], ["*"], false, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
}
Expand Down

0 comments on commit 68ab595

Please sign in to comment.