-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tabsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Feature Description
Currently, MatTabGroup
renders the tab content immediately below the list of tab labels:
[ Tab 1 ] [ Tab 2 ] [ Tab 3 ]
-----------------------------
Tab content
This new feature will enable consumers to specify a separate location where the tab content should be rendered.
Use Case
The goal is to render content between the tab labels and tab content.
Example:
[ Tab 1 ] [ Tab 2 ] [ Tab 3 ] [ Button ]
---------------------------------------------------
Tab content
Usage example:
<mat-tab-group>
<mat-tab label="Tab 1">Content 1</mat-tab>
<mat-tab label="Tab 2">Content 2</mat-tab>
<mat-tab label="Tab 3">Content 3</mat-tab>
</mat-tab-group>
<button>Button</button>
<mat-tab-group-body></mat-tab-group-body>
Contribution
I have an in progress PR that I will link to this issue.
mrmokwa, vitale232, skopis15, rars, 6apc1k and 1 more
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tabsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding