angular / angular/components

[Tabs] Allow tabs to show vertical labels

オープン
#3,223 コメント 19 件 リアクション 55 件 担当者 0 名 GitHub で見る
area: material/tabs feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Bug, feature request, or proposal:
proposal

#### What is the expected behavior?
It display horizontally in any case and I can`t change this behavior from css or even code. I want display it in this way:
http://joxi.net/8An96qkiPVGe2O

#### What is the use-case or motivation for changing an existing behavior?
Sometimes I need to display sidenav (but designed as tabs) aligned to center or as part of inner block, but in column layout. It would be great add some property for tabs such as direction

#### Is there anything else we should know?
In addition, I used tabs for navigation between routes:
```


{{tabLink.label}}

```

I made this possible in this way:
```
.mat-tab-links {
display: flex;
position: relative;
flex-direction: column; //can`t change this filed by myself
}
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

md-tab-nav-bar のエントリポイントと、issue に示されている .mat-tab-links のスタイルから始めて、タブリンクがどのようにレイアウトされるかを追跡します。既存の水平方向の動作を維持しながら、タブでラベルを縦向きにできるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。