简体   繁体   English

GWT中的文档就绪事件解决方案

[英]document ready event solution in GWT

What is the best way to handle the moment when all widgets are first shown and finally sized in GWT? 什么是处理所有小部件首次显示并最终在GWT中调整大小的时刻的最佳方法? I need to handle only GWT part ready, not entire document ready... 我只需要处理GWT部件准备就绪,而不是整个文档准备就绪......

You can use either Scheduler.scheduleFinally or the Scheduler.scheduleEntry function. 您可以使用Scheduler.scheduleFinallyScheduler.scheduleEntry函数。 They are run at the end of the event loop. 它们在事件循环结束时运行。

Also check out the gogole documentation on delayed logic 另请查看有关延迟逻辑的gogole文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM