-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[audit] overlay extra classes #6372
Comments
Agreed, they should all be consistent. I would want to use |
@jelbourn - So to clarify, update all the inputs to |
The template-based components can have |
Also this would be a good candidate for a mixin |
Before I make a PR up, can you give this a once over and see if this is on track with what you were thinking? https://github.com/amcdnl/material2/tree/overlay-class-6372 |
Tooltip can stay as |
If you make a PR it's easier to leave comments; you can mark it as WIP |
One thing I will say is that we don't want to add additional cdk packages for utility methods; each one is a public API that a user would potentially need to know about (such as when adding to a systemjs config) |
Would it make sense (maybe in another issue / PR) to add a similar input for the I guess another option would be to have only one class at the top ( |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Suggesting library-wide audit
Currently
Overlay components all accept extra classes differently:
string | string[]
string[]
NgClass
NgClass
class
onlyIdeally
Consistent NgClass compatibility would be awesome. If not possible,
string | string[]
support would be good.Additionally, consistent naming would be nice. Snackbar uses
extraClasses
, whereas select usespanelClass
. Also, select and dialog both usepanelClass
, but the class is added to different elements.The text was updated successfully, but these errors were encountered: