Wednesday, May 25, 2016

Re: JsInterop receipts for simple JSNI code ?

Thanks, so apparently JsInterop cannot be a complete replacement of JSNI?

I was hoping to be able to wrap in @JsType(native = true) something like Object.keys(window)

On Tuesday, May 24, 2016 at 5:11:39 PM UTC-7, Jens wrote:
You still need to use JSNI for accessing these properties. Depending on the API you want to build you could define @JsOverlay methods inside @JsType(native = true) classes and let them delegate to a JSNI based utility class.

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment