Ticket #2433 (closed enhancement: invalid)
Ability to pass a class name to a Dialog
|Reported by:||natecavanaugh||Owned by:||rworth|
It would be great if for dialogs you had the ability to pass a css class name that would be applied to the outermost container of the dialog.
This simple ability would allow you to give different dialogs different looks and feels based on whatever class name you passed in. I would also allow either the passing in of an array, or multiple space separated classes so that you can further namespace it.
For example, let's say you have an alert dialog, but it's also an alert that passes in a warning. You could do cssClass: 'alert warning' or cssClass: ['alert', 'warning'].
Space separated classes are generally better for maintenance rather than .warning-alert, .info-alert, etc.