Ticket #2433 (closed enhancement: invalid)
Ability to pass a class name to a Dialog
| Reported by: | natecavanaugh | Owned by: | rworth |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.4 |
| Component: | ui | Version: | 1.2.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Whoops, sorry Paul, I meant to mark this as an enhancement.