components icon indicating copy to clipboard operation
components copied to clipboard

how can i add unique class or id to mat-tab-label

Open rahulthappa opened this issue 8 years ago • 3 comments

Bug, feature request, or proposal:

Is there any way to add id or class to mat-tab-label

What is the expected behavior?

each mat-tab-label to be assigned by unique class

What is the current behavior?

mat-tab-label generate id but can't use that as selector, need to give different style (e.g. color) to mat-tab-label but not by selecting id or nth-child but through a specific class assign to each mat-tab-label

What are the steps to reproduce?

Just try to add a custom class's to each mat-tab-label inside accordion

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 5.2.0, Material 5.2.3.

Is there anything else we should know?

rahulthappa avatar Apr 03 '18 10:04 rahulthappa

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

(this is a canned response)

jelbourn avatar Apr 03 '18 22:04 jelbourn

@jelbourn ok can we feature request this?

shane-reaume avatar Nov 13 '18 23:11 shane-reaume

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.