Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/tooltip): replicate tooltipClass to default MatTooltipD…
…efaultOptions (#29467) * feat(material/form-field): replicate tooltipClass to default MatTooltipDefaultOptions The `tooltipClass` property has been added to the default configuration options in `MatTooltipDefaultOptions`. This new property is optional and supports the same syntax as `ngClass`, just like the component's default attribute. As with some existing configurations, if a CSS class is defined directly on the tooltip component, it will automatically override the default class. An example has been added to the `tooltip-demo` file. Additionally, two tests have been created to ensure the solution works as expected. Fixes #29355 * feat(material/form-field): replicate tooltipClass to default MatTooltipDefaultOptions The `tooltipClass` property has been added to the default configuration options in `MatTooltipDefaultOptions`. This new property is optional. As with some existing configurations, if a CSS class is defined directly on the tooltip component, it will automatically override the default class. Two tests have been created to ensure the solution works as expected. Fixes #29355 * feat(material/form-field): replicate tooltipClass to default MatTooltipDefaultOptions The `tooltipClass` property has been added to the default configuration options in `MatTooltipDefaultOptions`. This new property is optional. As with some existing configurations, if a CSS class is defined directly on the tooltip component, it will automatically override the default class. Two tests have been created to ensure the solution works as expected. Fixes #29355
- Loading branch information