Monday, September 19, 2016

Re: jsInterop cast to JavaScriptObject

Hi Marcio,
You can check: https://github.com/GWTReact/gwt-interop-utils that several helper to convert java to js and back.
Regards,
--
Bauna

On 16/09/16 15:47, Marcio Alves wrote:
Hi, 

   Is it possible to casto a jsInterop object to a JavaScriptObject? 

   I am trying to use GWT-Polymer's IronList, but it requires a JsArray<JavaScriptObject>.

   I managed to create my JsArray from a JSNI code, but I don't know how to create it in Java, since the class do not extends from JavaScriptObject.

Thanks,
Marcio Alves


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