Can't assign custom class for mat-tab
オープン
area: material/tabs
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### What is the expected behavior?
[ngClass] used on mat-tab should add class on "mat-tab-label" div
#### What is the current behavior?
There is no way to add custom class to "mat-tab-label" div
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-xq3ql9
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
7.3.7
#### Is there anything else we should know?
コントリビューションガイド
調査の方向性
まず、リンクされた StackBlitz の再現を実行し、mat-tab-label div 周辺の mat-tab の動作を調査します。mat-tab に指定した ngClass によって、要求されたカスタムクラスがその label 要素に表示され、再現によって変更が確認できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100