Tuesday, September 27, 2016

Re: JsInterop and constants

or you want a Java-only field in that interface (like you had in your JSO previously), and then you need to use @JsOverlay.

Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. Should I add JsOverlay 150 times ? 
Is it possible for GWT to automatically look at scalar constants (static final primitive types) as if they are JsOverlay ? 

For  JS constant I have @JsProperty getProp().


--
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