[英]How to know when a widget is being rendered?
Is there a way to handle or at least know when the Widget is being rendered on the browser screen? 有没有办法处理或至少知道什么时候在浏览器屏幕上呈现Widget? I mean when the render event is about to happen for a widget or when render is done?
我的意思是什么时候渲染事件即将发生的小部件或渲染完成?
Every widget has protected onLoad()
method and this method called immediately after a widget becomes attached to the browser's document. 每个小部件都有受保护的
onLoad()
方法,并且在小部件附加到浏览器的文档后立即调用此方法。
See GWT Rendering Process explanation on David Maddison's blog.
请参阅David Maddison博客上的GWT渲染过程说明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.