开发者

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

开发者 https://www.devze.com 2022-12-18 06:56 出处:网络
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.

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 w开发者_JS百科idget.

do you know how to do this?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消