Monday, November 2, 2020

Re: Javascript module function in GWT with JsInterop

Thomas has very kindly posted an answer to the above SO thread. So I think I'm good!

On Monday, 2 November 2020 at 10:26:56 UTC RobW wrote:
Just re-posting a Q I put on SO today in case anyone here has insights:


Basically, battling to figure how to integrate a library that is implemented as a Javascript export function using JS modules into a GWT application using JsInterop. Pretty sure there must be some way, but the combination of JS module syntax/usage, lack of global namespace for JS module functions is baffling me. I'm a long time Java/GWT coder, but with less in depth JS knowledge. All of my JS integration in the past was done with the older JSNI / wrappering approaches.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5af51388-ad3f-4a05-9434-e66110ec6b99n%40googlegroups.com.

No comments:

Post a Comment