-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
Suggesting library-wide audit
Currently
Overlay components all accept extra classes differently:
- Dialog:
string | string[]
- Snackbar:
string[]
- Tooltip:
NgClass
- Select:
NgClass
- Menus:
class
only - Datepicker: none
- Autocomplete: none (tracking feat(autocomplete): add input for adding classes to the panel #6618 or feat(autocomplete): add md-autocomplete classes to overlay panel #7176)
Ideally
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 uses panelClass
. Also, select and dialog both use panelClass
, but the class is added to different elements.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent