Ticket #2358 (accepted enhancement)
ui dialog show and hide overrides
| Reported by: | mnichols | Owned by: | scott.gonzalez |
|---|---|---|---|
| Priority: | major | Milestone: | 1.9 |
| Component: | ui.dialog | Version: | 1.5 |
| Keywords: | dialog show hide open close | Cc: |
Description
There is no way to control the behaviour of the show() and hide() calls on ui dialog. Therefore applying effects to the dialog is impossible, making the dialog presentation...bland. This patch adds 'show' and 'hide' options accepting the uiDialog object to uiDialog.show() and uiDialog.hide() respectively. This lets the dev in the options do (using fx): show: function(dialog){ $j(dialog).show('drop',{ direction: 'down',duration:1500 }); }, hide: function(dialog){ $j(dialog).hide('drop',{ direction: 'down',duration:800 }); }
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/nologo.gif)
