detecting if a widget is added to DOM or not

0 views
Skip to first unread message

Prashant

unread,
Nov 23, 2009, 8:11:40 AM11/23/09
to google-we...@googlegroups.com
Hi,

Suppose, I write my own custom widget using some features (say, third party library features) which will work only if my widget is added to DOM, so, those features need to be loaded only after the widget is added to DOM. Is there any way to detect if widget is added to DOM? like, any method which gets triggered when widget is added to DOM?

Thanks

Thomas Broyer

unread,
Nov 23, 2009, 10:05:33 AM11/23/09
to Google Web Toolkit
onAttach, onLoad, isAttached, onUnload, onDetach

Prashant

unread,
Nov 23, 2009, 12:35:32 PM11/23/09
to google-we...@googlegroups.com
thanks a lot, GWT really rocks and you too.. :)
Reply all
Reply to author
Forward
0 new messages