Yes, you can do all this. I'm not sure what your question is. Maybe the JsInterop docs will help: https://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJsInterop.html
On Sunday 15 September 2024 at 3:47:39 pm UTC+10 David wrote: > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ab0fdd57-fab4-4335-bc0e-e9aec414fe31n%40googlegroups.com.
