windows.WindowState
ブラウザウィンドウの状態。
型
値の方はstrings
です。可能な値は以下:
"normal"
- ウィンドウはデフォルトかユーザ指定のサイズ。
"minimized"
- ウィンドウはアイコンとしてタスクバーの中に表示(最小化)。
"maximized"
- ウィンドウはシステムエリアやOSによる予約なしに画面を満たしている(最大化)。
"fullscreen"
- ウィンドウはフルスクリーンアプリケーションとして稼働しているか、タブの内容がFullscreen APIを利用している(全画面)。
"docked"
- A docked window occupies a fixed position relative to other windows owned by the same application.
macOS compatibility: Beginning in macOS 10.10, the default maximizing behavior for windows changed to run applications as full screen applications instead of "zoomed" windows. fullscreen
refers to both the browser running as a full screen application and when content in a tab uses the Fullscreen API.
Browser compatibility
BCD tables only load in the browser
Acknowledgements
This API is based on Chromium's chrome.windows
API. This documentation is derived from windows.json
in the Chromium code.
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.