Wednesday, November 29, 2017

JsInterop - How to access window object

Hi,
I want to use JsInterop to interact with a library that define a global object in the window (`window.gantt`).
I have defined the @JsType interface for this object `gantt`.

But now, how can I access this object in my GWT code?

Thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment