window.alert()事件在gwt [英] Window.alert() event in gwt
本文介绍了window.alert()事件在gwt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
Window.alert() code>是一个阻塞调用,所以点击确定代码恢复运行。
Window.alert(OK?);
GWT.log(该行不会运行,直到您关闭警报框后,
+这是\event\!);
I have one doubt, What happening if we press OK button in Window.alert in gwt? Is there any event happening backside if we pressed OK button?
解决方案
Window.alert()
is a blocking call, so upon clicking OK the code resumes running.
Window.alert("OK?");
GWT.log("That line won't run until after you dismiss the alert box, "
+ "THAT's the \"event\"!");
这篇关于window.alert()事件在gwt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文