Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Window.alert() event in gwt

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?

like image 685
Vijay Kumar Avatar asked Dec 11 '22 11:12

Vijay Kumar


1 Answers

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\"!");
like image 170
Thomas Broyer Avatar answered Dec 29 '22 03:12

Thomas Broyer