angular / angular/components

feat(tabs): Enable rendering tabs list and tab content in independent locations

未关闭
#23,404 5 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
area: material/tabs feature G needs: discussion P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### 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:
```

Content 1
Content 2
Content 3

Button

```

#### Contribution

I have an in progress PR that I will link to this issue.

贡献指南

打开贡献指南

调研方向

从 issue 中描述的 MatTabGroup 行为开始,并查看提供的使用示例。完成的标准是 consumers 可以将标签页内容独立于标签页标签进行放置,并在指定的单独位置渲染内容。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。