开发者

GWT dispose modal dialog by clicking outside of it

开发者 https://www.devze.com 2023-03-08 02:23 出处:网络
I have a HSV color selector on a dialog and I would like to provide user sever开发者_Python百科al ways to dispose the dialog. I have normal buttons and such but I would also like to make it disappear

I have a HSV color selector on a dialog and I would like to provide user sever开发者_Python百科al ways to dispose the dialog. I have normal buttons and such but I would also like to make it disappear when user clicks outside of it.

Is there a way to do this in GWT?


You can enable PopupPanel auto hide. When enabled, the popup will be automatically hidden when the user clicks outside of it.

0

精彩评论

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

关注公众号