Bug Tracker

Opened 15 years ago

Closed 13 years ago

#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:
Blocked by: Blocking:


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 (4)

comment:1 Changed 15 years ago by natecavanaug

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

comment:2 Changed 15 years ago by paul

Owner: changed from paul to rworth

comment:3 Changed 15 years ago by scott.gonzal

Type: bugenhancement

comment:4 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This should be filed in the UI bug tracker if still relevant.


Note: See TracTickets for help on using tickets.