Allen Bargi
Allen Bargi

Reputation: 15172

jQuery UI - Dialog passing custom effect options to the dialog for show and hide

The Dialog widget in jQuery UI has a hide and show options that you can pass the name of effect you want it to run on show and hide events. some of the events have extra options like { direction: down } for drop or slide effects but I can not find a way to pass these options to the Dialog widget.

do you know how to do this?

Upvotes: 0

Views: 1343

Answers (1)

Josh Hamilton
Josh Hamilton

Reputation: 36

Currently there is no support for sending arguments to uiDialog.hide() or uiDialog.show() other than the name of the effect. However, there is a patch you can apply. I think this problem will be corrected in 1.8.

Upvotes: 2

Related Questions