Can't assign custom class for mat-tab
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
#### 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?
Contributor guide
Research direction
Start by running the linked StackBlitz reproduction and inspect the mat-tab behavior around the mat-tab-label div. Done means an ngClass supplied on mat-tab results in the requested custom class appearing on that label element, with the reproduction confirming the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100