开发者

Turning off animation in dojox.widget.Dialog

开发者 https://www.devze.com 2022-12-11 20:33 出处:网络
Anyone know how to turn animation off in dojox.widget.Dialog? I love the modal dialog, but want it to pop up immediately, rather than the painfully slow animate on that it does. I tried turning off th

Anyone know how to turn animation off in dojox.widget.Dialog? I love the modal dialog, but want it to pop up immediately, rather than the painfully slow animate on that it does. I tried turning off the apparent animation controls, but it still animates. Also looked into the src code, but didn't see any smoking guns for a configurati开发者_如何学JAVAon option. here's the sample invocation:

id    = "dojoModalWrapper" 
jsId   = "dojoModalWrapper"
dojoType  = "dojox.widget.Dialog" 
showTitle  = "false" 
dimensions  = "[678,370]" 
sizeDuration = 0
easing   = null
style   = "background-color: #e86d0d; display:none;"


Why not use dijit.Dialog?

0

精彩评论

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

关注公众号