Wednesday, February 21, 2018

Re: Understanding JsInterop

Try using Js.uncheckedCast from jsinterop-base

On Tuesday, February 20, 2018 at 1:59:44 PM UTC-5, Scott Shumway wrote:
I'm still unable to do this. I want to be able to get a DOMRect from a with JsInterop. If I cast to this Element class, or even ((HasGetBoundingClientRect) (Object) element), I will get a (runtime) java.lang.ClassCastException. The cast to Object works, of course, it's the cast to HasGetBoundingClientRect.

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