开发者

Is it possible maximize the window without JSNI

I'm using this function to maximize the window:

/**
* Resize the principal window
*/
public static native void resizeWindow() /*-{
      top.window.moveTo(0,0);
      top.window.resizeTo(screen.availWidth,s开发者_如何学Pythoncreen.availHeight);
}-*/;

is it possible to maximize the browser window without JSNI ?


Check out the built in Window.moveTo(), and Window.resizeTo()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜