Saturday, September 14, 2024

How to export js generated from Java

I want 
     1.   "@JsType(isNative = false, name = "JsEmail", namespace = JsPackage.GLOBAL)"  generate JS.
     2.  bind "JsEmail" into Window object so I can see Window.JsEmail during Chrome inspect.
     3. In pure js environment, I can use JsEmail.someMethod() directly.

I appreciate your help.

David

--
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/ee283dcf-9d69-4cfb-824e-5a3f1cc5f5c9n%40googlegroups.com.

No comments:

Post a Comment