feat(tooltip): allow providing a global matTooltipClass #29355
Labels
area: material/tooltip
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P4
A relatively minor issue that is not relevant to core functions
Feature Description
Right now the tooltip class can be set on per tooltip basis. I want to declare the class name globally once and it will apply to all tooltips (hence global options token).
Use Case
We have in our app a certain tooltip class we pass to hundreds of tooltips. If we could provide the options on the route (or in root) that needs the specific tooltip class with that class we shouldn't have to remember to pass the class name in each and every tooltip usage.
The text was updated successfully, but these errors were encountered: