I suppose it'll eventually be in a jsinterop util class but for now you
have to use JSNI: https://github.com/gwtproject/gwt/issues/9364
On Monday, September 12, 2016 at 11:03:31 PM UTC+2, Zufar Fakhurtdinov
wrote:
>
> Thank you for answer! Writing it by hand is annoying, but maybe later it
>
Thank you for answer! Writing it by hand is annoying, but maybe later it
will be generated.
Maybe you know.. How can I use 'in' operator?
protected static native boolean pointerLockSupported() /*-{
return 'pointerLockElement' in $wnd.document ||
'mozPointerLockElement' in $wnd.document
e:
>>
>> Hi all. I'm trying to understand how can I effective work with jsinterop
>> and browser-specific api.
>> For example Fullscreen api is mostly work in latest browsers, but methods
>> are prefixed.
>>
>> Before js
On Friday, September 9, 2016 at 8:32:08 PM UTC+2, Zufar Fakhurtdinov wrote:
>
> Hi all. I'm trying to understand how can I effective work with jsinterop
> and browser-specific api.
> For example Fullscreen api is mostly work in latest browsers, but methods
> are prefixed.
>
&g
Doing the same
--
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+unsubscr...@googlegroups.com.
To post to this group, send email to
But above sample doing the name. Or you can create a baseclss and 3 impl and
instantiate the correct one.
--
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
Hi all. I'm trying to understand how can I effective work with jsinterop
and browser-specific api.
For example Fullscreen api is mostly work in latest browsers, but methods
are prefixed.
Before jsinterop I was write something like this:
public static native void leaveFullscreen