Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この関数を使用してウィンドウを最大化します。
/** * Resize the principal window */ public static native void resizeWindow() /*-{ top.window.moveTo(0,0); top.window.resizeTo(screen.availWidth,screen.availHeight); }-*/;
JSNIなしでブラウザウィンドウを最大化することは可能ですか?
組み込みのWindow.moveTo()とWindow.resizeTo( )を確認してください