Bug Tracker

Opened 8 years ago

Closed 5 years ago

#2358 closed enhancement (invalid)

ui dialog show and hide overrides

Reported by: mnichols Owned by: rworth
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: dialog show hide Cc:
Blocked by: Blocking:

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

uidroppable-show_and_hideoverrides.patch (902 bytes) - added by mnichols 8 years ago.
show and hide ui dialog

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by mnichols

show and hide ui dialog

comment:1 Changed 8 years ago by paul

  • Owner changed from paul to rworth

comment:2 Changed 8 years ago by rworth

  • Status changed from new to assigned

comment:3 Changed 5 years ago by dmethvin

  • Resolution set to invalid
  • Status changed from assigned to closed

Not a jQuery core bug.

Note: See TracTickets for help on using tickets.